mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Tests which use INSERT DELAYED or MERGE tables should explicitely
specify that they want a MyISAM table, otherwise they fail when run with --default-storage-engine=maria. mysql-test/extra/rpl_tests/rpl_flsh_tbls.test: uses INSERT DELAYED so has to specify MyISAM mysql-test/extra/rpl_tests/rpl_insert_delayed.test: uses INSERT DELAYED so has to specify MyISAM mysql-test/r/query_cache.result: result update mysql-test/r/rpl_insert.result: result update mysql-test/r/rpl_stm_flsh_tbls.result: result update mysql-test/r/rpl_stm_insert_delayed.result: result update mysql-test/r/rpl_switch_stm_row_mixed.result: result update mysql-test/r/subselect.result: result update mysql-test/t/query_cache.test: uses MERGE so has to specify MyISAM mysql-test/t/query_cache_merge.test: uses MERGE so has to specify MyISAM mysql-test/t/rpl_insert.test: uses INSERT DELAYED so has to specify MyISAM mysql-test/t/rpl_stm_flsh_tbls.test: specifying the engine lengthens the query in binlog so shifts positions mysql-test/t/rpl_switch_stm_row_mixed.test: uses INSERT DELAYED so has to specify MyISAM mysql-test/t/subselect.test: uses INSERT DELAYED so has to specify MyISAM
This commit is contained in:
@ -9,9 +9,9 @@
|
||||
|
||||
let $SERVER_VERSION=`select version()`;
|
||||
|
||||
create table t1 (a int);
|
||||
create table t1 (a int) ENGINE=MyISAM;
|
||||
insert into t1 values (10);
|
||||
create table t2 (a int);
|
||||
create table t2 (a int) ENGINE=MyISAM;
|
||||
create table t3 (a int) engine=merge union(t1);
|
||||
create table t4 (a int);
|
||||
# We force the slave to open t3 (because we want to try confusing him) with this :
|
||||
|
@ -17,7 +17,7 @@ select @@global.binlog_format;
|
||||
# happened only in statement-based binlogging.
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (id INT primary key auto_increment, name VARCHAR(64));
|
||||
CREATE TABLE t1 (id INT primary key auto_increment, name VARCHAR(64)) ENGINE=MyISAM;
|
||||
let $query = "INSERT DELAYED INTO t1 VALUES (null, 'Dr. No'), (null, 'From Russia With Love'), (null, 'Goldfinger'), (null, 'Thunderball'), (null, 'You Only Live Twice')";
|
||||
--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=200 --query=$query --delimiter=";"
|
||||
|
||||
|
Reference in New Issue
Block a user