Bug #26225 Engine condition pushdown doesn't work with prepared statements (ps_7ndb)
Submitted: 9 Feb 2007 15:28 Modified: 10 Apr 2007 4:50
Reporter: Martin Skold Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0 OS:Any
Assigned to: Martin Skold CPU Architecture:Any

[9 Feb 2007 15:28] Martin Skold
Preparaed statements which result in select statements with
conditions that might be possible to push to storage engines
fail due to missiing code for analyzing such query plans.

How to repeat:
./mysql-test-run.pl --mysqld="--engine-condition-pushdown=1" --do-test=ps_7ndb

Suggested fix:
Fix the code that analyzes the query plan.
[9 Feb 2007 15:31] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


ChangeSet@1.2300, 2007-02-09 16:31:12+01:00, mskold@mysql.com +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
[21 Feb 2007 15:18] Tomas Ulin
pushed to 5.1.16 release
[7 Apr 2007 7:00] Bugs System
Pushed into 5.0.40
[10 Apr 2007 4:50] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at


Documented bugfix in 5.0.40 and 5.1.16 changelogs.