diff options
author | unknown <antony@ltantony.rdg.cyberkinetica.homeunix.net> | 2003-12-17 22:52:03 +0000 |
---|---|---|
committer | unknown <antony@ltantony.rdg.cyberkinetica.homeunix.net> | 2003-12-17 22:52:03 +0000 |
commit | fcbb2f077b942794a21e640414a31d18537c543e (patch) | |
tree | c639b3a159120373264b2f97623f8759e2226d61 /mysql-test/t/create.test | |
parent | 27bcbf336ce5e23bf9651cc6382bf3556ded71dc (diff) | |
download | mariadb-git-fcbb2f077b942794a21e640414a31d18537c543e.tar.gz |
WorkLog #1323 (part 2)
New Statement: SHOW [STORAGE] ENGINES
New System Variable: storage_engine
New mysqld Argument: --default-storage-engine=
include/mysqld_error.h:
We now call handlers STORAGE ENGINEs
include/sql_state.h:
We now call handlers STORAGE ENGINEs
mysql-test/r/create.result:
table_type system variable becomes storage_engine
mysql-test/r/key_cache.result:
table_type system variable becomes storage_engine
mysql-test/r/variables.result:
table_type system variable becomes storage_engine
mysql-test/r/warnings.result:
Test for deprecated table_type system variable
mysql-test/t/create.test:
table_type system variable becomes storage_engine
mysql-test/t/key_cache.test:
table_type system variable becomes storage_engine
mysql-test/t/variables.test:
table_type system variable becomes storage_engine
mysql-test/t/warnings.test:
Test for deprecated table_type system variable
sql/handler.cc:
change name for consistency
sql/handler.h:
change name for consistency
sql/lex.h:
New keywords - ENGINES and STORAGE
sql/mysql_priv.h:
change name for consistency
sql/mysqld.cc:
New command like argument for default-storage-engine
sql/set_var.cc:
New system variable for storage_engine
sql/set_var.h:
New system variable for storage_engine
sql/sql_lex.h:
Change for consistancy
sql/sql_parse.cc:
Change for consistancy
sql/sql_show.cc:
Change for consistancy
sql/sql_table.cc:
Change for consistancy
sql/sql_yacc.yy:
New keywords: STORAGE and ENGINES
Change table_types to storage_engines
New statement: SHOW [STORAGE] ENGINES
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r-- | mysql-test/t/create.test | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test index 35b6070d10d..64134fe9990 100644 --- a/mysql-test/t/create.test +++ b/mysql-test/t/create.test @@ -152,17 +152,17 @@ drop table if exists t1; # # Test default table type # -SET SESSION table_type="heap"; -SELECT @@table_type; +SET SESSION storage_engine="heap"; +SELECT @@storage_engine; CREATE TABLE t1 (a int not null); show create table t1; drop table t1; --error 1285 -SET SESSION table_type="gemini"; -SELECT @@table_type; +SET SESSION storage_engine="gemini"; +SELECT @@storage_engine; CREATE TABLE t1 (a int not null); show create table t1; -SET SESSION table_type=default; +SET SESSION storage_engine=default; drop table t1; @@ -272,17 +272,17 @@ drop database test_$1; # # Test default table type # -SET SESSION table_type="heap"; -SELECT @@table_type; +SET SESSION storage_engine="heap"; +SELECT @@storage_engine; CREATE TABLE t1 (a int not null); show create table t1; drop table t1; --error 1285 -SET SESSION table_type="gemini"; -SELECT @@table_type; +SET SESSION storage_engine="gemini"; +SELECT @@storage_engine; CREATE TABLE t1 (a int not null); show create table t1; -SET SESSION table_type=default; +SET SESSION storage_engine=default; drop table t1; # |