mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
f965cae5fb
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.
34 lines
992 B
Text
34 lines
992 B
Text
flush logs;
|
|
set global expire_logs_days = 3;
|
|
show variables like 'log_bin%';
|
|
Variable_name Value
|
|
log_bin OFF
|
|
log_bin_basename
|
|
log_bin_index
|
|
log_bin_trust_function_creators ON
|
|
show variables like 'relay_log%';
|
|
Variable_name Value
|
|
relay_log mysqld-relay-bin
|
|
relay_log_basename MYSQLTEST_VARDIR/mysqld.1/data/mysqld-relay-bin
|
|
relay_log_index MYSQLTEST_VARDIR/mysqld.1/data/mysqld-relay-bin.index
|
|
relay_log_info_file relay-log.info
|
|
relay_log_purge ON
|
|
relay_log_recovery OFF
|
|
relay_log_space_limit 0
|
|
flush logs;
|
|
show variables like 'log_bin%';
|
|
Variable_name Value
|
|
log_bin OFF
|
|
log_bin_basename
|
|
log_bin_index
|
|
log_bin_trust_function_creators ON
|
|
show variables like 'relay_log%';
|
|
Variable_name Value
|
|
relay_log mysqld-relay-bin
|
|
relay_log_basename MYSQLTEST_VARDIR/mysqld.1/data/mysqld-relay-bin
|
|
relay_log_index MYSQLTEST_VARDIR/mysqld.1/data/mysqld-relay-bin.index
|
|
relay_log_info_file relay-log.info
|
|
relay_log_purge ON
|
|
relay_log_recovery OFF
|
|
relay_log_space_limit 0
|
|
set global expire_logs_days = 0;
|