Bug #50781 | Query generation for INSERT adds NULLs for columns untouched in editor | ||
---|---|---|---|
Submitted: | 1 Feb 2010 8:08 | Modified: | 21 Apr 2010 13:43 |
Reporter: | Jeremy Bell | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S3 (Non-critical) |
Version: | 5.2.15a | OS: | Windows (Windows 7 x64) |
Assigned to: | Sergei Tkachenko | CPU Architecture: | Any |
Tags: | insert, nulls, query generator, regression |
[1 Feb 2010 8:08]
Jeremy Bell
[1 Feb 2010 8:33]
Valeriy Kravchuk
Thank you for the bug report. Verified just as described.
[9 Apr 2010 17:47]
Johannes Taxacher
fix confirmed in repository
[21 Apr 2010 13:43]
Tony Bedford
An entry has been added to the 5.2.18 changelog: When editing a row in the SQL Editor, if a column was NOT NULL and had a default value, and a value was not entered for it, then after changing another column if changes were applied an error would be generated. This was because the editor attempted to set the NOT NULL column to NULL, rather than to its default value.