Bug #25467 | Where clausse behaves differently for Select and delete with NOT NULL | ||
---|---|---|---|
Submitted: | 8 Jan 2007 16:09 | Modified: | 17 Apr 2007 17:06 |
Reporter: | Damien Seguy | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.1.14, 5.0.32 | OS: | MacOS (osx, debian) |
Assigned to: | CPU Architecture: | Any | |
Tags: | datetime, delete, NOT NULL, SELECT |
[8 Jan 2007 16:09]
Damien Seguy
[8 Jan 2007 18:57]
Hartmut Holzgraefe
Hi Damien, i can't reproduce this, for me both DELETE statements delete the row. This might be due to different configuration settings though, i'm running tests with a default server without any my.cnf file. Can you attach your configuration to this bug? I'm especially interested in your SQL_MODE settings.
[8 Jan 2007 20:57]
Damien Seguy
Hi Hartmut, So, I added some more check : Same problem on Mac osx running 5.1.6 and 5.1.14 debian running 5.0.32 and 4.1.15. I check SQL_MODE, which is always empty string. On my two macs, I don't use any cnf either. The two others might be difficult to check, but I can get you a show variables.
[5 Feb 2007 19:34]
Stephen Gornick
Is this possibly a duplicate of either: http://bugs.mysql.com/bug.php?id=8143 or http://bugs.mysql.com/bug.php?id=23412
[16 Mar 2007 12:49]
Valeriy Kravchuk
Please, try to repeat with a newer version, 5.0.27 and/or 5.1.16, and inform about the results.
[16 Apr 2007 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".
[17 Apr 2007 17:06]
Damien Seguy
Hi Just to report : I just tested this on MySQL 5.1.17, OSX of i386, and it works consistently now. Thanks for fixing this.