summaryrefslogtreecommitdiff
path: root/mysql-test/r/create.result
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-03-19 21:43:41 +0200
committerunknown <monty@narttu.mysql.fi>2003-03-19 21:43:41 +0200
commit0847c4f90e732378b6e4b37fe819c92bda870067 (patch)
treef73f6b61f529766ab03043b3abb2c0584e9b0643 /mysql-test/r/create.result
parentcd4d7716f8b7638c11bde9861c21f5a0517ac416 (diff)
downloadmariadb-git-0847c4f90e732378b6e4b37fe819c92bda870067.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 Docs/internals.texi: Updated description for how DATE, TIME and TIMESTAMP are stored mysql-test/r/create.result: New tests mysql-test/t/create.test: New tests sql/handler.cc: Use SESSION TABLE_HANDLER as default table handler if given table handler doesn't exists. sql/sql_parse.cc: Fix that we return hostname instead of IP in SHOW PROCESSLIST sql/sql_show.cc: Print right hostname or IP in SHOW PROCESSLIST
Diffstat (limited to 'mysql-test/r/create.result')
-rw-r--r--mysql-test/r/create.result23
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index 0cc98c38d49..a2ab0e97905 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -148,3 +148,26 @@ select * from t1;
if('2002'='2002','Y','N')
Y
drop table if exists t1;
+SET SESSION table_type="heap";
+SELECT @@table_type;
+@@table_type
+HEAP
+CREATE TABLE t1 (a int not null);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) NOT NULL default '0'
+) TYPE=HEAP
+drop table t1;
+SET SESSION table_type="gemini";
+SELECT @@table_type;
+@@table_type
+GEMINI
+CREATE TABLE t1 (a int not null);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) NOT NULL default '0'
+) TYPE=MyISAM
+SET SESSION table_type=default;
+drop table t1;