--- mysql-test/t/innodb-index.test.orig 2009-04-16 22:12:38.000000000 +0000 +++ mysql-test/t/innodb-index.test 2009-04-16 22:16:58.000000000 +0000 @@ -344,6 +344,11 @@ let $per_table=`select @@innodb_file_per_table`; let $format=`select @@innodb_file_format`; + +set @old_innodb_file_per_table=@@innodb_file_per_table; +set @old_innodb_file_format=@@innodb_file_format; +set @old_innodb_file_format_check=@@innodb_file_format_check; + set global innodb_file_per_table=on; set global innodb_file_format='Barracuda'; # Test creating a table that could lead to undo log overflow. @@ -499,3 +504,8 @@ DROP TABLE t2; DROP TABLE t1; + +set global innodb_file_per_table=@old_innodb_file_per_table; +set global innodb_file_format=@old_innodb_file_format; +set global innodb_file_format_check=@old_innodb_file_format_check; + --- mysql-test/r/innodb-index.result.orig 2009-04-16 22:18:18.000000000 +0000 +++ mysql-test/r/innodb-index.result 2009-04-16 22:18:47.000000000 +0000 @@ -877,6 +877,9 @@ 44 commit; drop table t1; +set @old_innodb_file_per_table=@@innodb_file_per_table; +set @old_innodb_file_format=@@innodb_file_format; +set @old_innodb_file_format_check=@@innodb_file_format_check; set global innodb_file_per_table=on; set global innodb_file_format='Barracuda'; create table t1(a blob,b blob,c blob,d blob,e blob,f blob,g blob,h blob, @@ -1125,3 +1128,6 @@ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 DROP TABLE t2; DROP TABLE t1; +set global innodb_file_per_table=@old_innodb_file_per_table; +set global innodb_file_format=@old_innodb_file_format; +set global innodb_file_format_check=@old_innodb_file_format_check;