Thank you for your help! If the status of the bug report you submitted changes,
you will be notified. You may return here and check on the status or update
your report at any time. That URL for your bug report is: http://bugs.mysql.com/14083.
Bug #14083 | inserts not possible in 'strict mode' with autoincr PK | ||
---|---|---|---|
Submitted: | 17 Oct 2005 18:47 | Modified: | 18 Oct 2005 2:31 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.14 | OS: | Windows (WinXP SP2) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[17 Oct 2005 18:47]
Peter Laursen
[17 Oct 2005 23:00]
Heikki Tuuri
Peter, please test insert into `test`.`tablename1` ( `id`, `t` ) values ( NULL, 'a' ); The empty sring '' is not the same as NULL. Regards, Heikki
[17 Oct 2005 23:50]
Peter Laursen
Thanks! That was it! In 'non-strict-mode' the server substitues the NULL-value for an empty string with a numerical value. But not in 'strict-mode'. That would not be very strict either!