diff options
| author | Mattias Jonsson <mattias.jonsson@oracle.com> | 2010-08-20 19:15:48 +0200 |
|---|---|---|
| committer | Mattias Jonsson <mattias.jonsson@oracle.com> | 2010-08-20 19:15:48 +0200 |
| commit | 0c2b883dd2a9e8e5135d0830a60d475e85e0aecf (patch) | |
| tree | 75374006b84ddce6925e927c4e7abbf59ef1b107 /sql/sql_plugin.cc | |
| parent | a32b74cfe4d7ed6ef9cb993b69b9cce88f331d65 (diff) | |
| download | mariadb-git-0c2b883dd2a9e8e5135d0830a60d475e85e0aecf.tar.gz | |
Bug#54747: Deadlock between REORGANIZE PARTITION and SELECT is not detected
The ALTER PARTITION and SELECT seemed to be deadlocked
when having innodb_thread_concurrency = 1.
Problem was that there was unreleased latches
in the ALTER PARTITION thread which was needed
by the SELECT thread to be able to continue.
Solution was to release the latches by commit
before requesting upgrade to exclusive MDL lock.
Updated according to reviewers comments (3).
Diffstat (limited to 'sql/sql_plugin.cc')
0 files changed, 0 insertions, 0 deletions
