mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index
Add log_bin_index, log_bin_basename and relay_log_basename system variables. Also, convert relay_log_index system variable to NO_CMD_LINE and implement --relay-log-index as a command line option.
This commit is contained in:
parent
c94789c3d3
commit
f965cae5fb
35 changed files with 614 additions and 14 deletions
|
|
@ -0,0 +1,9 @@
|
|||
SHOW VARIABLES LIKE 'log_bin%';
|
||||
Variable_name log_bin
|
||||
Value ON
|
||||
Variable_name log_bin_basename
|
||||
Value MYSQLTEST_VARDIR/mysqld.1/data/other
|
||||
Variable_name log_bin_index
|
||||
Value MYSQLTEST_VARDIR/mysqld.1/data/mysqld-bin.index
|
||||
Variable_name log_bin_trust_function_creators
|
||||
Value ON
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
SHOW VARIABLES LIKE 'log_bin%';
|
||||
Variable_name log_bin
|
||||
Value ON
|
||||
Variable_name log_bin_basename
|
||||
Value MYSQLTEST_VARDIR/mysqld.1/data/other
|
||||
Variable_name log_bin_index
|
||||
Value MYSQLTEST_VARDIR/tmp/something.index
|
||||
Variable_name log_bin_trust_function_creators
|
||||
Value ON
|
||||
15
mysql-test/suite/binlog/r/binlog_variables_relay_log.result
Normal file
15
mysql-test/suite/binlog/r/binlog_variables_relay_log.result
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
SHOW VARIABLES LIKE 'relay_log%';
|
||||
Variable_name relay_log
|
||||
Value other-relay
|
||||
Variable_name relay_log_basename
|
||||
Value MYSQLTEST_VARDIR/mysqld.1/data/other-relay
|
||||
Variable_name relay_log_index
|
||||
Value MYSQLTEST_VARDIR/mysqld.1/data/mysqld-relay-bin.index
|
||||
Variable_name relay_log_info_file
|
||||
Value relay-log.info
|
||||
Variable_name relay_log_purge
|
||||
Value ON
|
||||
Variable_name relay_log_recovery
|
||||
Value OFF
|
||||
Variable_name relay_log_space_limit
|
||||
Value 0
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
SHOW VARIABLES LIKE 'relay_log%';
|
||||
Variable_name relay_log
|
||||
Value other-relay
|
||||
Variable_name relay_log_basename
|
||||
Value MYSQLTEST_VARDIR/mysqld.1/data/other-relay
|
||||
Variable_name relay_log_index
|
||||
Value MYSQLTEST_VARDIR/tmp/something-relay.index
|
||||
Variable_name relay_log_info_file
|
||||
Value relay-log.info
|
||||
Variable_name relay_log_purge
|
||||
Value ON
|
||||
Variable_name relay_log_recovery
|
||||
Value OFF
|
||||
Variable_name relay_log_space_limit
|
||||
Value 0
|
||||
|
|
@ -0,0 +1 @@
|
|||
--log-bin=other
|
||||
4
mysql-test/suite/binlog/t/binlog_variables_log_bin.test
Normal file
4
mysql-test/suite/binlog/t/binlog_variables_log_bin.test
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
--source include/not_embedded.inc
|
||||
|
||||
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
||||
--query_vertical SHOW VARIABLES LIKE 'log_bin%'
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
--log-bin=other
|
||||
--log-bin-index=$MYSQLTEST_VARDIR/tmp/something.index
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
--source include/not_embedded.inc
|
||||
|
||||
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
||||
--query_vertical SHOW VARIABLES LIKE 'log_bin%'
|
||||
|
|
@ -0,0 +1 @@
|
|||
--relay-log=other-relay
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
--source include/not_embedded.inc
|
||||
|
||||
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
||||
--query_vertical SHOW VARIABLES LIKE 'relay_log%'
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
--relay-log=other-relay
|
||||
--relay-log-index=$MYSQLTEST_VARDIR/tmp/something-relay.index
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
--source include/not_embedded.inc
|
||||
|
||||
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
||||
--query_vertical SHOW VARIABLES LIKE 'relay_log%'
|
||||
Loading…
Add table
Add a link
Reference in a new issue