From be57311862d1e05902c21d3397edbcb7f8a71fb9 Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Fri, 9 Apr 2010 16:29:13 +0300 Subject: [PATCH] Fix a failure of innodb_plugin.innodb-autoinc-44030 now that MySQL and InnoDB dictionaries do not get out of sync. --- mysql-test/suite/innodb_plugin/r/innodb-autoinc-44030.result | 4 ++-- mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql-test/suite/innodb_plugin/r/innodb-autoinc-44030.result b/mysql-test/suite/innodb_plugin/r/innodb-autoinc-44030.result index c0695bf0be0..54e972843f5 100644 --- a/mysql-test/suite/innodb_plugin/r/innodb-autoinc-44030.result +++ b/mysql-test/suite/innodb_plugin/r/innodb-autoinc-44030.result @@ -13,18 +13,18 @@ d1 1 2 INSERT INTO t1 VALUES(null); -Got one of the listed errors ALTER TABLE t1 AUTO_INCREMENT = 3; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `d1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`d1`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 INSERT INTO t1 VALUES(null); SELECT * FROM t1; d1 1 2 3 +4 DROP TABLE t1; diff --git a/mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test b/mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test index 5db807ca835..150f6bb4f66 100644 --- a/mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test +++ b/mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test @@ -25,7 +25,7 @@ SELECT * FROM t1; # longer results in the two data dictionaries being out of sync. If they # revert their changes then this check for ER_AUTOINC_READ_FAILED will need # to be enabled. Also, see http://bugs.mysql.com/bug.php?id=47621. --- error ER_AUTOINC_READ_FAILED,1467 +# -- error ER_AUTOINC_READ_FAILED,1467 INSERT INTO t1 VALUES(null); ALTER TABLE t1 AUTO_INCREMENT = 3; SHOW CREATE TABLE t1;