1
# Tests that variables work correctly (setting and showing). This
2
# test is like the main.variables test, but for variables not
3
# available in embedded mode.
5
source include/not_embedded.inc;
8
# Backup global variables so they can be restored at end of test.
9
set @my_slave_net_timeout =@@global.slave_net_timeout;
12
set global slave_net_timeout=100;
13
set global sql_slave_skip_counter=100;
17
# BUG #7800: Add various-slave related variables to SHOW VARIABLES
18
show variables like 'slave_compressed_protocol';
19
--replace_column 2 SLAVE_LOAD_TMPDIR
20
show variables like 'slave_load_tmpdir';
21
# We just set some arbitrary values in variables-master.opt so we can test
22
# that a list of values works correctly
23
show variables like 'slave_skip_errors';
25
--echo ---- Clean Up ----
27
set global slave_net_timeout=default;
28
# sql_slave_skip_counter is write-only, so we can't save previous
29
# value and restore it here. That's ok, because it's normally 0.
30
set global sql_slave_skip_counter= 0;