diff options
author | monty@narttu.mysql.fi <> | 2003-03-19 21:43:41 +0200 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-03-19 21:43:41 +0200 |
commit | 68ca84dbd14c92071ca72f7635e169a94cec716e (patch) | |
tree | f73f6b61f529766ab03043b3abb2c0584e9b0643 /mysql-test/t/create.test | |
parent | 056e88fe247363bc085e1dba915b26ffda6b1a74 (diff) | |
download | mariadb-git-68ca84dbd14c92071ca72f7635e169a94cec716e.tar.gz |
Print right hostname or IP in SHOW PROCESSLIST
Use SESSION TABLE_HANDLER as default table handler if given table handler doesn't exists
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r-- | mysql-test/t/create.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test index 7d566cb89ac..68d68929f07 100644 --- a/mysql-test/t/create.test +++ b/mysql-test/t/create.test @@ -102,3 +102,20 @@ drop table t1; create table t1 select if('2002'='2002','Y','N'); select * from t1; drop table if exists t1; + +# +# Test default table type +# +SET SESSION table_type="heap"; +SELECT @@table_type; +CREATE TABLE t1 (a int not null); +show create table t1; +drop table t1; +# Test what happens when using a non existing table type +SET SESSION table_type="gemini"; +SELECT @@table_type; +CREATE TABLE t1 (a int not null); +show create table t1; +SET SESSION table_type=default; +drop table t1; + |