Bug #6045 | Binary Comparison regression in MySQL 4.1 | ||
---|---|---|---|
Submitted: | 12 Oct 2004 16:19 | Modified: | 12 Nov 2009 18:25 |
Reporter: | Peter Zaitsev (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.6 | OS: | Any |
Assigned to: | Alexander Barkov | CPU Architecture: | Any |
[12 Oct 2004 16:19]
Peter Zaitsev
[3 Nov 2004 12:26]
Alexander Barkov
A case insensitive index now can be used for optimization for both cases: WHERE column = 'aaa' COLLATE xxx_bin WHERE column = BINARY 'aaa' Thanks for reporting, Peter!
[5 Nov 2009 14:46]
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/commits/89482 2924 Mikael Ronstrom 2009-11-05 BUG#48447, BUG#48161, fixed a regression from fix of BUG#6045, where binary collations can use indexes/partition pruning for cases using equality conditions, however it cannot be used for any other condition like <, >, <=, >=, <>, also added test case for verification of BUG#47774 in this patch
[11 Nov 2009 6:51]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091110093407-rw5g8dys2baqkt67) (version source revid:alik@sun.com-20091110083317-h00x61ugz9fxhdod) (merge vers: 6.0.14-alpha) (pib:13)
[12 Nov 2009 8:20]
Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:alik@sun.com-20091110083426-bm3am5445pfrrci9) (merge vers: 5.5.0-beta) (pib:13)