Bug #30486 | SQL Server migration yields empty table with no errors for IDENTITY key=0 | ||
---|---|---|---|
Submitted: | 17 Aug 2007 22:02 | Modified: | 26 Aug 2014 5:31 |
Reporter: | Martin Kultermann | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
Version: | 1.2.12 | OS: | Windows (XP) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Auto-increment, IDENTITY |
[17 Aug 2007 22:02]
Martin Kultermann
[20 Aug 2007 11:56]
MySQL Verification Team
Thank you for the bug report.
[22 Jul 2014 21:17]
Alfredo Kojima
Posted by developer: The Workbench migration wizard was fixed so that SQL_MODE=NO_AUTO_VALUE_ON_ZERO is set before copying the data, which will cause 0 auto_increment field values to be copied as 0.
[22 Aug 2014 17:59]
Johannes Taxacher
Posted by developer: fix confirmed in 6.2.2
[26 Aug 2014 5:31]
Philip Olson
Fixed as of the upcoming MySQL Workbench 6.2.2 release, and here's the changelog entry: The migration wizard now sets "SQL_MODE=NO_AUTO_VALUE_ON_ZERO" before copying data, which causes auto_increment field values of 0 to be copied as 0. Thank you for the bug report.