Bug #41848 | NO_AUTO_VALUE_ON_ZERO should be on by default. | ||
---|---|---|---|
Submitted: | 4 Jan 2009 4:41 | Modified: | 16 Jul 2009 19:16 |
Reporter: | Alexander Pas | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 4.1.1+, 4.2+, 5+ | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[4 Jan 2009 4:41]
Alexander Pas
[4 Jan 2009 8:12]
Valeriy Kravchuk
Thank you for a problem report. Current behaviour is clearly described in the manual, so this is NOT a bug. Setting NO_AUTO_VALUE_ON_ZERO explicitly allows to solve the problem in your case. Having NO_AUTO_VALUE_ON_ZERO turned on by default is a reasonable feature request, though.
[16 Jul 2009 19:16]
Alexander Pas
coming from: http://drupal.org/node/204411 Is there any Progress on this Feature Request?
[11 Mar 2012 21:08]
Dennis Van Dusen
After chasing down this bug, I have to agree that no_auto_value_on_zero really should be on by default. I also believe that setting a new value for a key where it is set by the user already (he states that 'id' = 0) is a legacy mechanism that should be deprecated. It is confusing to the best of us! Why should this behavior not be removed?