mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Bug#17733 Flushing logs causes daily server crash
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)
This commit is contained in:
parent
154c6e0677
commit
e284256ef0
4 changed files with 42 additions and 3 deletions
9
mysql-test/t/flush2.test
Normal file
9
mysql-test/t/flush2.test
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#
|
||||
# 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue