mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
7fa1449eac
mysql-test/lib/mtr_cases.pm: there is only one InnoDB in this tree, no need to run an InnoDB test twice mysql-test/suite/innodb/include/have_innodb_plugin.inc: plugin is now the builtin mysql-test/suite/innodb/t/innodb-analyze.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb-timeout.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb-use-sys-malloc.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb-zip.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb_bug36169.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb_bug36172.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb_file_format.test: plugin is now the builtin mysql-test/suite/innodb/t/innodb_information_schema.test: plugin is now the builtin storage/innodb_plugin/plug.in: build libinnobase.a, to have it built-in
48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
--source include/have_innodb.inc
|
|
|
|
#display current value of innodb_use_sys_malloc
|
|
SELECT @@GLOBAL.innodb_use_sys_malloc;
|
|
--echo 1 Expected
|
|
|
|
#try changing it. Should fail.
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SET @@GLOBAL.innodb_use_sys_malloc=0;
|
|
--echo Expected error 'Read only variable'
|
|
|
|
SELECT @@GLOBAL.innodb_use_sys_malloc;
|
|
--echo 1 Expected
|
|
|
|
|
|
#do some stuff to see if it works.
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
|
|
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
|
|
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
|
|
select * from t1;
|
|
drop table t1;
|
|
--source include/have_innodb.inc
|
|
|
|
#display current value of innodb_use_sys_malloc
|
|
SELECT @@GLOBAL.innodb_use_sys_malloc;
|
|
--echo 1 Expected
|
|
|
|
#try changing it. Should fail.
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SET @@GLOBAL.innodb_use_sys_malloc=0;
|
|
--echo Expected error 'Read only variable'
|
|
|
|
SELECT @@GLOBAL.innodb_use_sys_malloc;
|
|
--echo 1 Expected
|
|
|
|
|
|
#do some stuff to see if it works.
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
|
|
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
|
|
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
|
|
select * from t1;
|
|
drop table t1;
|