From: Date: February 9 2007 4:31pm Subject: bk commit into 5.0 tree (mskold:1.2300) BUG#26225 List-Archive: http://lists.mysql.com/commits/19620 X-Bug: 26225 Message-Id: <20070209153124.6711523209A@linux.site> Below is the list of changes that have just been committed into a local 5.0 repository of marty. When marty does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-02-09 16:31:12+01:00, mskold@stripped +2 -0 bug #26225 Engine condition pushdown doesn't work with prepare statements (ps_7ndb): ensure that query plan for prepared statement is analyzed correctly sql/ha_ndbcluster.cc@stripped, 2007-02-09 16:30:46+01:00, mskold@stripped +1 -1 bug #26225 Engine condition pushdown doesn't work with prepare statements (ps_7ndb): ensure that query plan for prepared statement is analyzed correctly sql/item_func.cc@stripped, 2007-02-09 16:30:46+01:00, mskold@stripped +2 -0 bug #26225 Engine condition pushdown doesn't work with prepare statements (ps_7ndb): ensure that query plan for prepared statement is analyzed correctly # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: mskold # Host: linux.site # Root: /windows/Linux_space/MySQL/mysql-5.0 --- 1.308/sql/item_func.cc 2007-02-09 16:31:24 +01:00 +++ 1.309/sql/item_func.cc 2007-02-09 16:31:24 +01:00 @@ -231,6 +231,8 @@ void Item_func::traverse_cond(Cond_trave (*traverser)(this, argument); } } + else + (*traverser)(this, argument); } --- 1.295/sql/ha_ndbcluster.cc 2007-02-09 16:31:24 +01:00 +++ 1.296/sql/ha_ndbcluster.cc 2007-02-09 16:31:24 +01:00 @@ -7058,7 +7058,7 @@ void ndb_serialize_cond(const Item *item 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"));