Commit 51ea3939 authored by Daniel Black's avatar Daniel Black

Complete test for status slave_skipped_errors

parent eac71ced
...@@ -15,7 +15,6 @@ show variables like 'slave_load_tmpdir'; ...@@ -15,7 +15,6 @@ show variables like 'slave_load_tmpdir';
# We just set some arbitrary values in variables-master.opt so we can test # We just set some arbitrary values in variables-master.opt so we can test
# that a list of values works correctly # that a list of values works correctly
show variables like 'slave_skip_errors'; show variables like 'slave_skip_errors';
show global status like 'slave_skipped_errors';
# Cleanup # Cleanup
set global slave_net_timeout=@my_slave_net_timeout; set global slave_net_timeout=@my_slave_net_timeout;
......
...@@ -104,6 +104,9 @@ DELETE FROM t2 WHERE id = 5; ...@@ -104,6 +104,9 @@ DELETE FROM t2 WHERE id = 5;
SET SQL_LOG_BIN=1; SET SQL_LOG_BIN=1;
UPDATE t2 SET id= id + 3, data = 2; UPDATE t2 SET id= id + 3, data = 2;
show global status like 'slave_skipped_errors';
Variable_name Value
Slave_skipped_errors 5
**** We cannot execute a select as there are differences in the **** We cannot execute a select as there are differences in the
**** behavior between STMT and RBR. **** behavior between STMT and RBR.
==== Clean Up ==== ==== Clean Up ====
......
...@@ -157,6 +157,7 @@ sync_slave_with_master; ...@@ -157,6 +157,7 @@ sync_slave_with_master;
let $error= query_get_value("SHOW SLAVE STATUS", Last_SQL_Error, 1); let $error= query_get_value("SHOW SLAVE STATUS", Last_SQL_Error, 1);
echo $error; echo $error;
show global status like 'slave_skipped_errors';
--echo **** We cannot execute a select as there are differences in the --echo **** We cannot execute a select as there are differences in the
--echo **** behavior between STMT and RBR. --echo **** behavior between STMT and RBR.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment