From deea138acf0b8c967f7641b6ebedc5e91f2b515b Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 7 Jul 2010 22:15:30 +0000 Subject: [PATCH] Critical fix in MySqlConnector.LoadIdsByConditions --- MySQLConnector/Connection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MySQLConnector/Connection.cs b/MySQLConnector/Connection.cs index 06734a8..764c434 100644 --- a/MySQLConnector/Connection.cs +++ b/MySQLConnector/Connection.cs @@ -137,7 +137,7 @@ namespace FLocal.MySQLConnector { if(diapasone.count >= 0) { queryLimits = "LIMIT " + diapasone.count + " OFFSET " + diapasone.start; } - command.CommandText = "SELECT " + table.compile(this.traits) + ".* " + queryMain + " " + querySorts + " " + queryLimits; + command.CommandText = "SELECT " + table.getIdSpec().compile(this.traits) + " " + queryMain + " " + querySorts + " " + queryLimits; List result = new List(); using(DbDataReader reader = command.ExecuteReader()) {