summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authormskold/marty@linux.site <>2007-02-09 16:40:36 +0100
committermskold/marty@linux.site <>2007-02-09 16:40:36 +0100
commit6e418074b6b490f9ceec05921e07eaf55e5f3cbd (patch)
tree55abfdd4dd3369412277ff78e8a25bb9dbb2975d /sql/ha_ndbcluster.cc
parent18f63370aae5a90590a7dc47d1c7565e742d046d (diff)
parentd6bb9d21bfee893d0d5d1a6c6d8541aeab805c4a (diff)
downloadmariadb-git-6e418074b6b490f9ceec05921e07eaf55e5f3cbd.tar.gz
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 191fa64f321..86a2f9d8544 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -9051,7 +9051,7 @@ void ndb_serialize_cond(const Item *item, void *arg)
Check that the field is part of the table of the handler
instance and that we expect a field with of this result type.
*/
- if (context->table == field->table)
+ if (context->table->s == field->table->s)
{
const NDBTAB *tab= (const NDBTAB *) context->ndb_table;
DBUG_PRINT("info", ("FIELD_ITEM"));