mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
e284256ef0
Server crashes if a flush commmand is issued and binlog is closed. - added check to prevent binlog access when binlog file isn't opened. sql/sql_parse.cc: - removed deprecated environment consistency check. - added check to prevent binlog access on closed binlog. mysql-test/t/flush2-master.opt: - Added test case (master options) mysql-test/t/flush2.test: - Added test case mysql-test/r/flush2.result: - Added test case (resultfile)
9 lines
202 B
Text
9 lines
202 B
Text
#
|
|
# Bug#17733 Flushing logs causes daily server crash
|
|
#
|
|
flush logs;
|
|
set global expire_logs_days = 3;
|
|
show variables like 'log%';
|
|
flush logs;
|
|
show variables like 'log%';
|
|
set global expire_logs_days = 0;
|