diff options
author | Michael Widenius <monty@askmonty.org> | 2011-05-09 14:38:49 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-05-09 14:38:49 +0300 |
commit | 4cb68c0e8940aca5c02363c27d09cab5a1b2fcd8 (patch) | |
tree | d75723d318d1867c5c8aa8380b84623ffcb67018 /sql/sql_insert.cc | |
parent | a50a5f64f87ddb5464610b773d8215982658be02 (diff) | |
download | mariadb-git-4cb68c0e8940aca5c02363c27d09cab5a1b2fcd8.tar.gz |
mysqltest: Write command to be executed to the log BEFORE executing the command.
Fixed race condition in event that could cause hang when stopping event scheduler with SET GLOBAL event_scheduler=OFF
client/mysqltest.cc:
Write command to be executed to the log BEFORE executing the command.
This makes it easier to debug crashes as the log will contain the fatal command.
mysql-test/r/mysqltest.result:
Updated results (we now get more things logged)
sql/event_queue.cc:
Fixed race condition in event that could cause hang when stopping event scheduler with SET GLOBAL event_scheduler=OFF.
The reason was that a kill signal could be sent between last check of thd->killed and before thd->enter_cond() in which case the signal
would be missed and we would be stuck in Event_scheduler::stop() forever.
Diffstat (limited to 'sql/sql_insert.cc')
0 files changed, 0 insertions, 0 deletions