mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
Added timeouts to replication tests to handle concurrent inserts Docs/manual.texi: Changelog client/mysqlshow.c: Fix for new SHOW FULL COLUMNS syntax mysql-test/r/show_check.result: Fix for SHOW FULL COLUMNS mysql-test/t/alter_table.test: Fix for SHOW FULL COLUMNS mysql-test/t/rpl000001.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000002.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000003.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000007.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000008.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000009.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000010.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000011.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000012.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000013.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000014.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000015.test: Added timeout to handle concurrent inserts. mysql-test/t/rpl000016.test: Added timeout to handle concurrent inserts. mysql-test/t/select.test: Fix for SHOW FULL COLUMNS mysql-test/t/show_check.test: Fix for SHOW FULL COLUMNS mysql-test/t/type_blob.test: Fix for SHOW FULL COLUMNS mysql-test/t/type_float.test: Fix for SHOW FULL COLUMNS mysql-test/t/type_ranges.test: Fix for SHOW FULL COLUMNS sql/mysql_priv.h: Fix for SHOW FULL COLUMNS sql/sql_parse.cc: Fix for SHOW FULL COLUMNS sql/sql_show.cc: Fix for SHOW FULL COLUMNS sql/sql_yacc.yy: Fix for SHOW FULL COLUMNS
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
#
|
|
# Test of some show commands
|
|
#
|
|
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;
|
|
check table t1,t2;
|
|
repair table t1,t2;
|
|
check table t2,t1;
|
|
lock tables t1 read;
|
|
check table t2,t1;
|
|
show columns from t1;
|
|
show full columns from t1;
|
|
show keys from t1;
|
|
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;
|
|
check table t1 type=fast;
|
|
check table t1 type=changed;
|
|
insert into t1 values (5,5,5);
|
|
check table t1 type=changed;
|
|
check table t1 type=medium;
|
|
check table t1 type=extended;
|
|
show keys from t1;
|
|
!$1062 insert into t1 values (5,5,5);
|
|
optimize table t1;
|
|
optimize table t1;
|
|
drop table t1;
|
|
|
|
#show variables;
|
|
show variables like "wait_timeout%";
|
|
show variables like "this_doesn't_exists%";
|
|
show table status from test like "this_doesn't_exists%";
|
|
show databases;
|
|
show databases like "test%";
|