Bug #490 | Accidental introduction of a bug with auto_increment and INSERT SELECT | ||
---|---|---|---|
Submitted: | 24 May 2003 7:09 | Modified: | 1 Jul 2003 6:14 |
Reporter: | Guilhem Bichot | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 4.0.13 | OS: | Any (all) |
Assigned to: | Guilhem Bichot | CPU Architecture: | Any |
[24 May 2003 7:09]
Guilhem Bichot
[19 Jun 2003 1:25]
Artem V. Ryabov
I have this problem too. v 4.0.13. not InnoDB but MyISAM, Linux. example: create table _test1 select 'a' as c; insert _test1 values ('b'); create table _test2 (Seq SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY key (Seq)) master: select * from _test2; +-----+---+ | Seq | c | +-----+---+ | 1 | a | | 2 | b | +-----+---+ slave: +-----+---+ | Seq | c | +-----+---+ | 2 | a | | 3 | b | +-----+---+
[30 Jun 2003 15:35]
Brian Aker
I saw this very same issue with 4.0.9 with Innodb. I know that Slashdot had to upgrade one of the slave's this weekend to get around this (they upgraded to 4.0.12).
[1 Jul 2003 5:50]
Guilhem Bichot
*Could* be bug 136 which is fixed in 4.0.12. Bug 490 (this thread's bug) was introduced in 4.0.13.
[1 Jul 2003 6:14]
Guilhem Bichot
Thank you for your bug report. This issue has been fixed in the latest development tree for that product. You can find more information about accessing our development trees at http://www.mysql.com/doc/en/Installing_source_tree.html