Bug #6737 REGEXP gives wrong result with case sensitive collation
Submitted: 21 Nov 2004 7:42 Modified: 24 Nov 2004 13:05
Reporter: Alexander Barkov Email Updates:
Status: Closed
Category:Server Severity:S3 (Non-critical)
Version:4.1.x OS:Any (any)
Assigned to: Alexander Barkov Target Version:

[21 Nov 2004 7:42] Alexander Barkov
Description:
SELECT 'a' REGEXP 'A';
SELECT 'a' REGEXP 'A' COLLATE latin1_bin;
SELECT 'a' REGEXP 'A' COLLATE latin1_general_cs;

Result: *Only* binary collation produces FALSE.

How to repeat:
Run the above.
[24 Nov 2004 13:04] Alexander Barkov
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 bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

fixed in 4.1.8