Bug #57545 | Forward engineering is quoting boolean values causing incorrect cast values | ||
---|---|---|---|
Submitted: | 19 Oct 2010 2:28 | Modified: | 24 Nov 2010 17:39 |
Reporter: | Jonathon Coombes | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S2 (Serious) |
Version: | 5.2.29 | OS: | Any |
Assigned to: | Alexander Musienko | CPU Architecture: | Any |
Tags: | forward engineer, guitools, modelling, regression, workbench |
[19 Oct 2010 2:28]
Jonathon Coombes
[28 Oct 2010 1:36]
Alfredo Kojima
Bug #57399 is related
[11 Nov 2010 15:43]
Alfredo Kojima
bug #58045 is also related
[22 Nov 2010 14:06]
Johannes Taxacher
fix confirmed in repository
[24 Nov 2010 17:39]
Tony Bedford
An entry has been added to the 5.2.31 changelog: The forward engineering process generated SQL code that quoted boolean values, causing incorrect cast values. When a table contained the logical BOOLEAN type for a field it was converted to TINYINT(1) as expected. However, the values that were supplied for any inserts were quoted, as in the following example: INSERT INTO mytable (id,flag) VALUES (NULL,'TRUE');