summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/innodb-use-sys-malloc.result
diff options
context:
space:
mode:
authorSatya B <satya.bn@sun.com>2009-06-10 19:21:20 +0530
committerSatya B <satya.bn@sun.com>2009-06-10 19:21:20 +0530
commit098679e8f8713c8ffd649b20dec961a56c7779b6 (patch)
tree1d740b14f244ddec333b38a356fd624adb713037 /mysql-test/suite/innodb/r/innodb-use-sys-malloc.result
parentbf893bea7e2777ce5389d820202436c37d4217ae (diff)
downloadmariadb-git-098679e8f8713c8ffd649b20dec961a56c7779b6.tar.gz
Add innodb plugin tests to a new mysql test suite 'innodb'.
Created a test suite 'innodb' under mysql-test/suite/innodb for the innodb plugin tests. test suite 'innodb' has tests only which are not under any other mysql-test suites. Total 14 testcases are added to the test suite. Note: the patches in storage/innodb_plugin/mysql-test/patches are not applied yet
Diffstat (limited to 'mysql-test/suite/innodb/r/innodb-use-sys-malloc.result')
-rw-r--r--mysql-test/suite/innodb/r/innodb-use-sys-malloc.result48
1 files changed, 48 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/innodb-use-sys-malloc.result b/mysql-test/suite/innodb/r/innodb-use-sys-malloc.result
new file mode 100644
index 00000000000..2ec4c7c8130
--- /dev/null
+++ b/mysql-test/suite/innodb/r/innodb-use-sys-malloc.result
@@ -0,0 +1,48 @@
+SELECT @@GLOBAL.innodb_use_sys_malloc;
+@@GLOBAL.innodb_use_sys_malloc
+1
+1 Expected
+SET @@GLOBAL.innodb_use_sys_malloc=0;
+ERROR HY000: Variable 'innodb_use_sys_malloc' is a read only variable
+Expected error 'Read only variable'
+SELECT @@GLOBAL.innodb_use_sys_malloc;
+@@GLOBAL.innodb_use_sys_malloc
+1
+1 Expected
+drop table if exists t1;
+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;
+a
+1
+2
+3
+4
+5
+6
+7
+drop table t1;
+SELECT @@GLOBAL.innodb_use_sys_malloc;
+@@GLOBAL.innodb_use_sys_malloc
+1
+1 Expected
+SET @@GLOBAL.innodb_use_sys_malloc=0;
+ERROR HY000: Variable 'innodb_use_sys_malloc' is a read only variable
+Expected error 'Read only variable'
+SELECT @@GLOBAL.innodb_use_sys_malloc;
+@@GLOBAL.innodb_use_sys_malloc
+1
+1 Expected
+drop table if exists t1;
+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;
+a
+1
+2
+3
+4
+5
+6
+7
+drop table t1;