mirror of
https://github.com/MariaDB/server.git
synced 2025-09-05 08:04:25 +03:00
slave_skip_errors in SHOW VARIABLES. (Bug #7800) sql/structs.h: Add SHOW_SLAVE_SKIP_ERRORS sql/set_var.cc: Add slave_compressed_protocol, slave_load_tmpdir, slave_skip_errors to list of variables. mysql-test/t/rpl_variables.test: Add test for additional slave-related variables mysql-test/r/rpl_variables.result: Update results sql/sql_show.cc: Handle showing slave_skip_errors
18 lines
523 B
Plaintext
18 lines
523 B
Plaintext
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
set global slave_net_timeout=100;
|
|
set global sql_slave_skip_counter=100;
|
|
show variables like 'slave_compressed_protocol';
|
|
Variable_name Value
|
|
slave_compressed_protocol OFF
|
|
show variables like 'slave_load_tmpdir';
|
|
Variable_name Value
|
|
slave_load_tmpdir MYSQL_TEST_DIR/var/tmp/
|
|
show variables like 'slave_skip_errors';
|
|
Variable_name Value
|
|
slave_skip_errors 3,100,137,643,1752
|