Bug #20820 | auto inc table not handled correctly when restored from cluster backup | ||
---|---|---|---|
Submitted: | 3 Jul 2006 13:01 | Modified: | 7 Jul 2006 3:45 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Linux (Linux 32 bit OS) |
Assigned to: | Tomas Ulin | CPU Architecture: | Any |
[3 Jul 2006 13:01]
Jonathan Miller
[5 Jul 2006 22:26]
Tomas Ulin
reproduce with create table t1 (a int auto_increment primary key) engine=ndb; insert into t1 values (1),(2),(3); - take backup drop table t1; -restore backup insert into t1 values(NULL); - now error select * from t1; +------------+ | a | +------------+ | 1 | | 2147483647 | | 2 | | 3 | +------------+ the rest are follow on errors...
[6 Jul 2006 15:15]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/8839
[6 Jul 2006 16:14]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/8847
[7 Jul 2006 3:45]
Jon Stephens
Documented bugfix in 5.0.24 changelog; changed Version to 5.0 per comment from Tomas.
[13 Jul 2006 3:27]
Paul DuBois
Fix went to 5.0.25 instead.