diff options
author | Michael Widenius <monty@askmonty.org> | 2013-01-10 23:40:18 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2013-01-10 23:40:18 +0200 |
commit | 3ea97f13de7b277dba5e80ad3e0061992416dd8a (patch) | |
tree | a89563c90889e0e94cac96411bb51342204ec265 /include/mysql/plugin_auth.h.pp | |
parent | b02b60f28c14f1daef755bc30a25d70ad2ad39ae (diff) | |
download | mariadb-git-3ea97f13de7b277dba5e80ad3e0061992416dd8a.tar.gz |
Fix for MDEV-4009: main.delayed sporadically fails with "query 'REPLACE DELAYED t1 VALUES (5)' failed: 1317: Query execution was interrupted"
- Fixed broadcast without a proper mutex
- Don't break existing locks if we are just testing if we can get the lock
mysql-test/r/create_delayed.result:
Added test case for failures with INSERT DELAYED with CREATE and DROP TABLE
mysql-test/t/create_delayed.test:
Added test case for failures with INSERT DELAYED with CREATE and DROP TABLE
sql/mdl.cc:
Don't break existing locks for timeout=0 (ie, just check if there are conflicting locks).
This fixed the bug that INSERT DELAYED didn't work properly with CREATE TABLE
sql/sql_base.cc:
One neads to hold the mutex before doing a mysql_cond_broadcast()
This fixed the bug that INSERT DELAYED didn't work properly with DROP TABLE
sql/sql_insert.cc:
Protect setting of mysys_var->current_mutex.
Diffstat (limited to 'include/mysql/plugin_auth.h.pp')
0 files changed, 0 insertions, 0 deletions