Commit 7d465216 authored by marko's avatar marko

innodb-zip.test: Now that innodb_file_per_table is a settable variable

as of r2355, remove the special startup options innodb-zip-master.opt
and set the variable in innodb-zip.test instead.
parent 9f962b0d
--innodb_file_per_table
\ No newline at end of file
set global innodb_file_per_table=1;
create table t1(a int not null, b text, index(b(10))) engine=innodb create table t1(a int not null, b text, index(b(10))) engine=innodb
key_block_size=1; key_block_size=1;
insert into t1 values (1,1); insert into t1 values (1,1);
...@@ -12,3 +13,4 @@ select a,left(b,40),b=1 is_equal from t1; ...@@ -12,3 +13,4 @@ select a,left(b,40),b=1 is_equal from t1;
a left(b,40) is_equal a left(b,40) is_equal
1 1 1 1 1 1
drop table t1; drop table t1;
set global innodb_file_per_table=0;
-- source include/have_innodb.inc -- source include/have_innodb.inc
let $default=`select @@innodb_file_per_table`;
set global innodb_file_per_table=1;
create table t1(a int not null, b text, index(b(10))) engine=innodb create table t1(a int not null, b text, index(b(10))) engine=innodb
key_block_size=1; key_block_size=1;
...@@ -29,3 +31,4 @@ disconnect a; ...@@ -29,3 +31,4 @@ disconnect a;
disconnect b; disconnect b;
drop table t1; drop table t1;
eval set global innodb_file_per_table=$default;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment