Bug #22564 | auto_increment column gets automatically incremented | ||
---|---|---|---|
Submitted: | 21 Sep 2006 20:04 | Modified: | 3 Dec 2007 14:11 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1.12-beta-debug | OS: | Linux (SUSE 10.0 / 64-bit) |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
[21 Sep 2006 20:04]
Peter Gulutzan
[4 Oct 2006 9:44]
Hakan Küçükyılmaz
Verified on Linux 32-bit, change set 1.2364, 2006-10-03. Added test case falcon_bug_22564.test. Regards, Hakan
[19 Oct 2007 16:24]
Kevin Lewis
Chris, We need to reject this create statement like innodb does, since we are not going to implement the MYISAM hack of using multiple autoincrement counters. Talk to Ann for more info. (low priority, but its a low hanging fruit!)
[1 Nov 2007 20:44]
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/36923 ChangeSet@1.2657, 2007-11-01 15:43:39-05:00, chris@xeno.mysql.com +4 -0 Bug#22564, "auto_increment column gets automatically incremented" Removed HA_AUTO_PART_KEY from StorageInterface::table_flags(). This will allow autoincrement columns to be defined in multipart indexes, but only as the first column of the index.
[2 Nov 2007 21:12]
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/37021 ChangeSet@1.2682, 2007-11-02 16:12:40-05:00, chris@xeno.mysql.com +2 -0 Bug #22564, "auto_increment column gets automatically incremented" - Adjusted testcase falcon_bug_28052.test to conform to the restriction that autoincrement columns must be the first part of a multi-part key.
[2 Nov 2007 22:34]
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/37031 ChangeSet@1.2683, 2007-11-02 17:34:23-05:00, chris@xeno.mysql.com +3 -0 Bug #22564, "auto_increment column gets automatically incremented" - Changed testcases using multipart keys with autoincrement columns to put the autoincrement column first.
[29 Nov 2007 23:53]
Hakan Küçükyılmaz
falcon_bug_22564 passes now.
[30 Nov 2007 20:43]
Bugs System
Pushed into 6.0.4-alpha
[3 Dec 2007 14:11]
MC Brown
A note has been added to the 6.0.4 changelog: Creating a Falcon table with an auto-increment column that is not indexed as the first column in a multi-column index would auto0increment. This behavior was different to the behavior in both MyISAM and InnoDB. Falcon now rejects such tables during creation in the same way InnoDB does