Bug #9925 | Federated query processor (step 2 or step 3) not using logic in WHERE statement | ||
---|---|---|---|
Submitted: | 15 Apr 2005 10:45 | Modified: | 18 Jul 2005 19:50 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.3-beta | OS: | Linux (linux) |
Assigned to: | Bugs System | CPU Architecture: | Any |
[15 Apr 2005 10:45]
[ name withheld ]
[15 Apr 2005 17:09]
Jorge del Conde
Thanks for your bug report. Verified w/5.0.4 and 30,000 records
[4 Jun 2005 0:44]
Patrick Galbraith
There's something definitely here to fix, in that even though I try to create a WHERE clause based off of a key, even if that key is a multi-column key, the create_where_from_key isn't constructing enough of a WHERE clause containing _both_ columns, only the column of the first part of the key. This is testing with the same exact tables as described in this bug report with 100000 records.
[8 Jun 2005 17:44]
Patrick Galbraith
Please see worklog #2653, this will fix this issue once complete https://intranet.mysql.com/worklog/Server-Sprint/index.pl?tid=2653
[11 Jun 2005 0:34]
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: http://lists.mysql.com/internals/25896
[13 Jun 2005 16:33]
Patrick Galbraith
Changeset 1.1936 includes fixes that make indexes work correctly. I've also including notes in comments about oddities in range->flag that I'd like to discuss with someone. The only type of index I can find problems with is the blob type, when using a limitted number of chars of a blob for an index.
[22 Jun 2005 5:05]
Patrick Galbraith
Still working with Timour and Anthony on perfecting the index/range code. Antony has a patch that I am currently testing, as well, I'm working on some changes that Timour suggested. It may turn out that Antony's solution may be the course to take.
[18 Jul 2005 19:50]
Patrick Galbraith
fix pushed as of 17.07.05, reviewed by JimW and Brian