diff options
author | unknown <monty@hundin.mysql.fi> | 2001-10-08 05:36:35 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-10-08 05:36:35 +0300 |
commit | 515c747dcfcca8d04a509496c5864f302d6d76be (patch) | |
tree | 87a4027a65ad98a422987c566b6d394464e95623 /mysql-test/r | |
parent | 41972bea9234345ed36ea92d40c0b0cf3ec315b0 (diff) | |
parent | cef1d752497f81229788e56abaf7fa62c1ab31a9 (diff) | |
download | mariadb-git-515c747dcfcca8d04a509496c5864f302d6d76be.tar.gz |
merge
BitKeeper/etc/ignore:
auto-union
acinclude.m4:
Auto merged
Docs/manual.texi:
Auto merged
include/my_sys.h:
Auto merged
include/mysql.h:
Auto merged
libmysqld/libmysqld.c:
Auto merged
mysql-test/mysql-test-run.sh:
Auto merged
mysql-test/t/count_distinct2.test:
Auto merged
mysql-test/t/flush.test:
Auto merged
mysql-test/t/rpl000017.test:
Auto merged
libmysql/libmysql.c:
Auto merged
mysys/Makefile.am:
Auto merged
sql/Makefile.am:
Auto merged
sql/handler.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
libmysqld/Makefile.am:
Added back md5.c
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/auto_increment.result | 24 | ||||
-rw-r--r-- | mysql-test/r/func_system.result | 4 | ||||
-rw-r--r-- | mysql-test/r/isam.result | 38 | ||||
-rw-r--r-- | mysql-test/r/lock_multi.result | 4 | ||||
-rw-r--r-- | mysql-test/r/not_embedded.require | 2 | ||||
-rw-r--r-- | mysql-test/r/show_check.result | 39 |
6 files changed, 46 insertions, 65 deletions
diff --git a/mysql-test/r/auto_increment.result b/mysql-test/r/auto_increment.result index 476b496db93..e785252bd2f 100644 --- a/mysql-test/r/auto_increment.result +++ b/mysql-test/r/auto_increment.result @@ -23,30 +23,6 @@ a b c 8 8 8 9 9 9 drop table t1; -create table t1 (a int not null auto_increment,b int, primary key (a)) type=isam; -insert into t1 values (1,1),(NULL,2),(3,3),(NULL,4); -delete from t1 where a=4 or a=2; -insert into t1 values (NULL,4),(NULL,5),(6,6); -select * from t1; -a b -1 1 -5 5 -3 3 -4 4 -6 6 -delete from t1 where a=6; -replace t1 values (3,1); -replace t1 values (3,3); -ALTER TABLE t1 add c int; -insert into t1 values (NULL,6,6); -select * from t1; -a b c -1 1 NULL -5 5 NULL -3 3 NULL -4 4 NULL -6 6 6 -drop table t1; create table t1 ( skey tinyint unsigned NOT NULL auto_increment PRIMARY KEY, sval char(20) diff --git a/mysql-test/r/func_system.result b/mysql-test/r/func_system.result index 78a084de8d3..175524f6b83 100644 --- a/mysql-test/r/func_system.result +++ b/mysql-test/r/func_system.result @@ -1,6 +1,6 @@ -select database(),user(); +select database(),user() like "%@%"; database() user() -test root@localhost +test 1 select version()>="3.23.29"; version()>="3.23.29" 1 diff --git a/mysql-test/r/isam.result b/mysql-test/r/isam.result index daa9b11c982..448dd7833a5 100644 --- a/mysql-test/r/isam.result +++ b/mysql-test/r/isam.result @@ -15,4 +15,42 @@ test.t1 repair status OK check table t1; Table Op Msg_type Msg_text test.t1 check status OK +a b +1 1 +5 5 +3 3 +4 4 +6 6 +a b c +1 1 NULL +5 5 NULL +3 3 NULL +4 4 NULL +6 6 6 +Table Op Msg_type Msg_text +test.t1 optimize status OK +Table Op Msg_type Msg_text +test.t1 check status OK +test.t2 check error The handler for the table doesn't support check/repair +Table Op Msg_type Msg_text +test.t1 repair status OK +test.t2 repair error The handler for the table doesn't support check/repair +Table Op Msg_type Msg_text +test.t2 check error The handler for the table doesn't support check/repair +test.t1 check status OK +Table Op Msg_type Msg_text +test.t2 check error Table 't2' was not locked with LOCK TABLES +test.t1 check status OK +Field Type Null Key Default Extra +a int(11) PRI 0 +b int(11) MUL 0 +c int(11) 0 +Field Type Null Key Default Extra Privileges +a int(11) PRI 0 select,insert,update,references +b int(11) MUL 0 select,insert,update,references +c int(11) 0 select,insert,update,references +Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment +t1 0 PRIMARY 1 a A 4 NULL NULL +t1 1 b 1 b A 1 NULL NULL +t1 1 b 2 c A 4 NULL NULL drop table t1; diff --git a/mysql-test/r/lock_multi.result b/mysql-test/r/lock_multi.result new file mode 100644 index 00000000000..d75d9aa0216 --- /dev/null +++ b/mysql-test/r/lock_multi.result @@ -0,0 +1,4 @@ +n +4 +n +1 diff --git a/mysql-test/r/not_embedded.require b/mysql-test/r/not_embedded.require new file mode 100644 index 00000000000..b2ea98bcd0a --- /dev/null +++ b/mysql-test/r/not_embedded.require @@ -0,0 +1,2 @@ +have_embedded +0 diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result index 126fd72e9cd..f66bf22b224 100644 --- a/mysql-test/r/show_check.result +++ b/mysql-test/r/show_check.result @@ -1,45 +1,6 @@ drop table if exists t1,t2; create table t1 (a int not null primary key, b int not null,c int not null, key(b,c)); insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4); -create table t2 type=isam select * from t1; -optimize table t1; -Table Op Msg_type Msg_text -test.t1 optimize status OK -check table t1,t2; -Table Op Msg_type Msg_text -test.t1 check status OK -test.t2 check error The handler for the table doesn't support check/repair -repair table t1,t2; -Table Op Msg_type Msg_text -test.t1 repair status OK -test.t2 repair error The handler for the table doesn't support check/repair -check table t2,t1; -Table Op Msg_type Msg_text -test.t2 check error The handler for the table doesn't support check/repair -test.t1 check status OK -lock tables t1 write; -check table t2,t1; -Table Op Msg_type Msg_text -test.t2 check error Table 't2' was not locked with LOCK TABLES -test.t1 check status OK -show columns from t1; -Field Type Null Key Default Extra -a int(11) PRI 0 -b int(11) MUL 0 -c int(11) 0 -show full columns from t1; -Field Type Null Key Default Extra Privileges -a int(11) PRI 0 select,insert,update,references -b int(11) MUL 0 select,insert,update,references -c int(11) 0 select,insert,update,references -show index from t1; -Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment -t1 0 PRIMARY 1 a A 4 NULL NULL -t1 1 b 1 b A 1 NULL NULL -t1 1 b 2 c A 4 NULL NULL -drop table t1,t2; -create table t1 (a int not null primary key, b int not null,c int not null, key(b,c)); -insert into t1 values (1,2,2),(2,2,3),(3,2,4),(4,2,4); check table t1 type=fast; Table Op Msg_type Msg_text test.t1 check status Table is already up to date |