Bug #16583 | ALTER TABLE ADD ZEROFILL AUTO_INCREMENT does not fill in correct order | ||
---|---|---|---|
Submitted: | 17 Jan 2006 20:51 | Modified: | 6 Feb 2006 11:05 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1.6-alpha | OS: | Linux (Linux) |
Assigned to: | Jonas Oreland | CPU Architecture: | Any |
[17 Jan 2006 20:51]
Jonathan Miller
[6 Feb 2006 11:05]
Jonas Oreland
It is to unspecified which order an alter table will modify rows. http://dev.mysql.com/doc/refman/5.0/en/alter-table.html This is basically the same as doing "select * from table" and expect the rows to come in a certain order. Wo/ "order by" the order is unspecified. And even if mysql has lots of different add on (unstandard syntax/features) there is no one specifying an order for alter table. Therefor this is a bug in the testcase. I suggest changing "order by id" to "order by name"