Bug #69100 | CAST in IF function fails in some case | ||
---|---|---|---|
Submitted: | 30 Apr 2013 9:53 | Modified: | 6 May 2013 20:11 |
Reporter: | Gabriel Delépine | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 5.5.31-0, 5.5.30-1, 5.5.29-0, 5.5.25-1, 5.5.16, 5.5.30-1.1, 5.6.10, 5.0.97, 5.1.70, 5.5.29, 5.7.2 | OS: | Linux (Debian 6 / Debian 7 / Ubuntu 12.10 / Windows 8) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | cast fails, conditional, IF, order by, wrong value return |
[30 Apr 2013 9:53]
Gabriel Delépine
[30 Apr 2013 18:32]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior with version 5.5. Could you please send us your configuration file?
[1 May 2013 9:28]
Gabriel Delépine
If add the my.cnf file of the Ubuntu system to this bug report. I upgrade mysql on the ubuntu system (From official ubuntu repository) to 5.5.31-0ubuntu0.12.10.1 but the bug still exists. On the 2 debian 6 server, mysql comme from the DOTDEB repository. 5.5.25-1~dotdeb.0 (Debian) 5.5.30-1~dotdeb.0 (Debian)
[3 May 2013 7:49]
Gabriel Delépine
I asked to other people to try and they also got the bug with the following configurations : - Windows 8 x64 avec Mysql 5.5.16 - MySQL Community Server - 5.5.30-1.1 / debian wheezy
[3 May 2013 13:42]
Gabriel Delépine
One more test with Debian 6.0 x86_64 and mysql 5.6.10-log and the bug still exists.
[4 May 2013 4:18]
Gabriel Delépine
One more test in an other server with : mysql Ver 14.14 Distrib 5.5.31, for debian-linux-gnu (x86_64) using readline 6.2 Same bug.
[6 May 2013 20:11]
Sveta Smirnova
Thank you for the feedback. Verified as described. Issue is only repeatable with storage engine InnoDB.