Commit f8621f2a authored by Sergei Golubchik's avatar Sergei Golubchik

remove redundant slow tests

parent 5669cb73
#
# MDEV-30188 Show "--binlog_do_db" state in SYSTEM VARIABLES
#
SELECT @@binlog_do_db AS EXPECT_NULL;
EXPECT_NULL
SET @@GLOBAL.binlog_do_db='database1';
ERROR HY000: Variable 'binlog_do_db' is a read only variable
# restart: --binlog_do_db=database1 --binlog_do_db=database2
SELECT @@binlog_do_db AS EXPECT_database1_database2;
EXPECT_database1_database2
database1,database2
#
# MDEV-30188 Show "--binlog_ignore_db" state in SYSTEM VARIABLES
#
SELECT @@binlog_ignore_db AS EXPECT_NULL;
EXPECT_NULL
SET @@GLOBAL.binlog_ignore_db='database1';
ERROR HY000: Variable 'binlog_ignore_db' is a read only variable
# restart: --binlog_ignore_db=database1 --binlog_ignore_db=database2
SELECT @@binlog_ignore_db AS EXPECT_database1_database2;
EXPECT_database1_database2
database1,database2
#
# MDEV-30188 Show "--binlog_row_event_max_size" state in SYSTEM VARIABLES
#
SELECT @@binlog_row_event_max_size AS EXPECT_8192;
EXPECT_8192
8192
SET @@GLOBAL.binlog_row_event_max_size=128;
ERROR HY000: Variable 'binlog_row_event_max_size' is a read only variable
# restart: --binlog_row_event_max_size=4096
SELECT @@binlog_row_event_max_size AS EXPECT_4096;
EXPECT_4096
4096
--echo #
--echo # MDEV-30188 Show "--binlog_do_db" state in SYSTEM VARIABLES
--echo #
# Confirm that "--binlog_do_db" option has the default value.
SELECT @@binlog_do_db AS EXPECT_NULL;
# `READ ONLY` variables must not be able to be reset.
--Error ER_INCORRECT_GLOBAL_LOCAL_VAR (1238): Variable 'binlog_do_db' is a read only variable
SET @@GLOBAL.binlog_do_db='database1';
# Restart the server with "--binlog_do_db='database1' --binlog_do_db='database2'" option
--let $restart_parameters = "--binlog_do_db='database1' --binlog_do_db='database2'"
--source include/restart_mysqld.inc
SELECT @@binlog_do_db AS EXPECT_database1_database2;
--echo #
--echo # MDEV-30188 Show "--binlog_ignore_db" state in SYSTEM VARIABLES
--echo #
# Confirm that "--binlog_ignore_db" option has the default value.
SELECT @@binlog_ignore_db AS EXPECT_NULL;
# `READ ONLY` variables must not be able to be reset.
--Error ER_INCORRECT_GLOBAL_LOCAL_VAR (1238): Variable 'binlog_ignore_db' is a read only variable
SET @@GLOBAL.binlog_ignore_db='database1';
# Restart the server with "--binlog_ignore_db='database1' --binlog_ignore_db='database2'" option
--let $restart_parameters = "--binlog_ignore_db='database1' --binlog_ignore_db='database2'"
--source include/restart_mysqld.inc
SELECT @@binlog_ignore_db AS EXPECT_database1_database2;
--echo #
--echo # MDEV-30188 Show "--binlog_row_event_max_size" state in SYSTEM VARIABLES
--echo #
SELECT @@binlog_row_event_max_size AS EXPECT_8192;
# `READ ONLY` variables must not be able to be reset.
--Error ER_INCORRECT_GLOBAL_LOCAL_VAR (1238): Variable 'binlog_row_event_max_size' is a read only variable
SET @@GLOBAL.binlog_row_event_max_size=128;
# Restart the server the server with "--binlog_row_event_max_size=4096" option
--let $restart_parameters = "--binlog_row_event_max_size=4096"
--source include/restart_mysqld.inc
SELECT @@binlog_row_event_max_size AS EXPECT_4096;
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