diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
commit | cd776fedba3e2902bc25ee206d6e6266e7eb9411 (patch) | |
tree | 95bf82d0e0522c6af708cd28639c82e004b5a264 /mysql-test/include/rpl_stmt_seq.inc | |
parent | f884d233e6a5f68bab846a7bdbd041fc4415ad77 (diff) | |
parent | d516a2ae0cbd09d3b5b1667ec62b421330ab9902 (diff) | |
download | mariadb-git-10.2-connector-c-integ.tar.gz |
Merge branch '10.2' into 10.2-connector-c-integ10.2-connector-c-integ
Diffstat (limited to 'mysql-test/include/rpl_stmt_seq.inc')
-rw-r--r-- | mysql-test/include/rpl_stmt_seq.inc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mysql-test/include/rpl_stmt_seq.inc b/mysql-test/include/rpl_stmt_seq.inc index 08f6e44aba0..b23178ee534 100644 --- a/mysql-test/include/rpl_stmt_seq.inc +++ b/mysql-test/include/rpl_stmt_seq.inc @@ -70,8 +70,6 @@ let $_log_num_s= `select @aux`; ############################################################### # INSERT ############################################################### ---echo ---echo -------- switch to master ------- connection master; # Maybe it would be smarter to use a table with an autoincrement column. let $MAX= `SELECT MAX(f1) FROM t1` ; @@ -85,8 +83,6 @@ if ($show_binlog) } sync_slave_with_master; ---echo ---echo -------- switch to slave -------- connection slave; # results before DDL(to be tested) SELECT MAX(f1) FROM t1; @@ -99,8 +95,6 @@ if ($show_binlog) ############################################################### # command to be tested ############################################################### ---echo ---echo -------- switch to master ------- connection master; eval $my_stmt; # Devaluate $my_stmt, to detect script bugs @@ -114,8 +108,6 @@ if ($show_binlog) } sync_slave_with_master; ---echo ---echo -------- switch to slave -------- connection slave; # results after DDL(to be tested) SELECT MAX(f1) FROM t1; @@ -128,8 +120,6 @@ if ($show_binlog) ############################################################### # ROLLBACK ############################################################### ---echo ---echo -------- switch to master ------- connection master; ROLLBACK; # results after final ROLLBACK @@ -151,8 +141,6 @@ if ($show_binlog) } sync_slave_with_master; ---echo ---echo -------- switch to slave -------- connection slave; # results after final ROLLBACK SELECT MAX(f1) FROM t1; @@ -181,16 +169,12 @@ if ($manipulate) # - flush the master and the slave log # ---> both start to write into new logs with incremented number # - increment $_log_num_n ---echo ---echo -------- switch to master ------- connection master; flush logs; # sleep 1; # eval SHOW BINLOG EVENTS IN 'master-bin.$_log_num_s'; sync_slave_with_master; ---echo ---echo -------- switch to slave -------- connection slave; # the final content of the binary log flush logs; @@ -202,6 +186,4 @@ flush logs; inc $_log_num_n; } ---echo ---echo -------- switch to master ------- connection master; |