Bug #41126 | columns with NOT NULL constraints accepting empty string | ||
---|---|---|---|
Submitted: | 29 Nov 2008 17:50 | Modified: | 29 Nov 2008 18:12 |
Reporter: | bharati gouda | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | My SQL server 5.0 | OS: | Windows (Windows Vista) |
Assigned to: | CPU Architecture: | Any |
[29 Nov 2008 17:50]
bharati gouda
[29 Nov 2008 18:12]
Jon Stephens
If you are performing multi-row inserts on a NOT NULL column, then this is expected behaviour. See http://dev.mysql.com/doc/refman/5.0/en/constraint-invalid-data.html, beginning with: "If you try to store NULL into a column that doesn't take NULL values..."