diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2003-12-08 12:10:30 +0400 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2003-12-08 12:10:30 +0400 |
commit | 8bf9ccb627af48fa24cce5699c9a9c2314cc406d (patch) | |
tree | 75e28dc5a1da51138dbbc9640cf58adce2a81d9b /mysql-test/t | |
parent | c335939203ee910c378438198a0a363789772310 (diff) | |
download | mariadb-git-8bf9ccb627af48fa24cce5699c9a9c2314cc406d.tar.gz |
Fixed test for 'init_slave' variable
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/rpl_init_slave-slave.opt | 2 | ||||
-rw-r--r-- | mysql-test/t/rpl_init_slave.test | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/t/rpl_init_slave-slave.opt b/mysql-test/t/rpl_init_slave-slave.opt index 6433dccf4aa..337e8a60d97 100644 --- a/mysql-test/t/rpl_init_slave-slave.opt +++ b/mysql-test/t/rpl_init_slave-slave.opt @@ -1 +1 @@ ---init-slave="set @a=1;set @b=2" +--init-slave="set global max_connections=500" diff --git a/mysql-test/t/rpl_init_slave.test b/mysql-test/t/rpl_init_slave.test index 67d35546225..3ea04117ced 100644 --- a/mysql-test/t/rpl_init_slave.test +++ b/mysql-test/t/rpl_init_slave.test @@ -6,20 +6,20 @@ source include/master-slave.inc; save_master_pos; connection slave; +sleep 1; +show variables like 'init_slave'; +show variables like 'max_connections'; sync_with_master; reset master; connection master; -create table t1(n int); -insert into t1 values (@a), (@b); -select * from t1; +show variables like 'init_slave'; +show variables like 'max_connections'; save_master_pos; connection slave; sync_with_master; -select * from t1; set global init_connect="set @c=1"; show variables like 'init_connect'; connection master; -drop table t1; save_master_pos; connection slave; sync_with_master; |