summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authormskold/marty@mysql.com/linux.site <>2007-03-24 08:21:59 +0100
committermskold/marty@mysql.com/linux.site <>2007-03-24 08:21:59 +0100
commitdaec2ad6d4087e06e20ec527aea4da9e3230c414 (patch)
treec1c3c06b662f3e80281260337cc28dbd4b89ee5c /sql/ha_ndbcluster.cc
parentcb4d64ad6c17af679a1bc8421ae261d8f801dbff (diff)
parent6ac9a28ef0883cf49c9cd036fc1677421d714c5e (diff)
downloadmariadb-git-daec2ad6d4087e06e20ec527aea4da9e3230c414.tar.gz
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-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 5f44530b2db..c9a7f93d7d8 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -7104,7 +7104,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"));