Bug #36181 | Error 1292 querying varchar unique column and bit(1) column | ||
---|---|---|---|
Submitted: | 17 Apr 2008 16:19 | Modified: | 17 May 2008 18:03 |
Reporter: | Marc Palmer | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 5.0.22 | OS: | Linux (RH ES5 (64bit)) |
Assigned to: | CPU Architecture: | Any |
[17 Apr 2008 16:19]
Marc Palmer
[17 Apr 2008 16:23]
Marc Palmer
To clarify - if the table is constructed with the bit(1) field but all the columns allow nulls, it works OK. It only breaks if you have the bit(1) field and the fields are NOT NULL. I haven't time to pin it down to which fields exactly need to be NOT NULL for it to break. Also we're running 64bit linux
[17 Apr 2008 16:23]
Marc Palmer
Thanks to Jeff Brown for the sample code, to which I simply added the NOT NULLs to break it.
[17 Apr 2008 18:03]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.51a, and inform about the results.
[17 May 2008 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".