diff options
author | Monty <monty@mariadb.org> | 2018-11-06 13:24:43 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-12-09 22:12:26 +0200 |
commit | 7bb3a5220e9960c5b3c0fd44d656d26d45b3cdef (patch) | |
tree | 85584d1545bbc5716a68cc756a4a4b64405655fd /cmake/configurable_file_content.in | |
parent | 163b34fe25919b25ff83860f30f2440b44c8b53b (diff) | |
download | mariadb-git-7bb3a5220e9960c5b3c0fd44d656d26d45b3cdef.tar.gz |
Fixed race condition between flush tables and insert delayed
FLUSH TABLES kills all insert delayed treads. If this happens at same time
as a newly started insert delayed query, the insert may fail with either
and error ("Query interrupted") or the row may be lost.
This patch fixes this by changing a failed attempt of get_delay_table() to
convert the query to use a normal insert.
The test case for this patch can be found in the FLUSH TABLES commit after
this one.
Diffstat (limited to 'cmake/configurable_file_content.in')
0 files changed, 0 insertions, 0 deletions