mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
bug #26538 (flush2.test fails in embedded run)
in the embedded result we don't have 'log_slave_updates OFF' line as replication is disabled in the embedded server. As we don't need to check for log_slave_updates variable in this test, we can not to SHOW it at all mysql-test/r/flush2.result: result fixed mysql-test/t/flush2.test: here we only need to check for log_bin% variables
This commit is contained in:
parent
5b64b12c7f
commit
b25ea49f37
2 changed files with 4 additions and 18 deletions
|
@ -1,26 +1,12 @@
|
|||
flush logs;
|
||||
set global expire_logs_days = 3;
|
||||
show variables like 'log%';
|
||||
show variables like 'log_bin%';
|
||||
Variable_name Value
|
||||
log ON
|
||||
log_bin OFF
|
||||
log_bin_trust_function_creators ON
|
||||
log_error
|
||||
log_output TABLE
|
||||
log_queries_not_using_indexes OFF
|
||||
log_slave_updates OFF
|
||||
log_slow_queries OFF
|
||||
log_warnings 1
|
||||
flush logs;
|
||||
show variables like 'log%';
|
||||
show variables like 'log_bin%';
|
||||
Variable_name Value
|
||||
log ON
|
||||
log_bin OFF
|
||||
log_bin_trust_function_creators ON
|
||||
log_error
|
||||
log_output TABLE
|
||||
log_queries_not_using_indexes OFF
|
||||
log_slave_updates OFF
|
||||
log_slow_queries OFF
|
||||
log_warnings 1
|
||||
set global expire_logs_days = 0;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
flush logs;
|
||||
set global expire_logs_days = 3;
|
||||
show variables like 'log%';
|
||||
show variables like 'log_bin%';
|
||||
flush logs;
|
||||
show variables like 'log%';
|
||||
show variables like 'log_bin%';
|
||||
set global expire_logs_days = 0;
|
||||
|
|
Loading…
Reference in a new issue