From 02c597e7315e10c9ca3d616879f4e38cbc8fe779 Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Fri, 9 Apr 2010 16:33:42 +0300 Subject: [PATCH] Fix mtr warning in innodb-autoinc-44030.test --- .../suite/innodb_plugin/t/innodb-autoinc-44030.test | 9 +++++++++ 1 file changed, 9 insertions(+) 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 150f6bb4f66..99cdac72e2e 100644 --- a/mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test +++ b/mysql-test/suite/innodb_plugin/t/innodb-autoinc-44030.test @@ -2,6 +2,8 @@ # embedded server ignores 'delayed', so skip this -- source include/not_embedded.inc +let $innodb_file_format_check_orig=`select @@innodb_file_format_check`; + --disable_warnings drop table if exists t1; --enable_warnings @@ -32,3 +34,10 @@ SHOW CREATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; DROP TABLE t1; + +# +# restore environment to the state it was before this test execution +# + +-- disable_query_log +eval set global innodb_file_format_check=$innodb_file_format_check_orig;