diff options
author | Sunny Bains <Sunny.Bains@Oracle.Com> | 2010-11-30 20:11:26 +1100 |
---|---|---|
committer | Sunny Bains <Sunny.Bains@Oracle.Com> | 2010-11-30 20:11:26 +1100 |
commit | a699e4fce85a055e3ee55db12e9891e3b26ef720 (patch) | |
tree | 10f0c9b9023c00d3a20e3e5226cf003ada5b6ead /storage/innobase/lock/lock0lock.c | |
parent | e92d96195b4e406a5343a81ee56ae61dce337c59 (diff) | |
download | mariadb-git-a699e4fce85a055e3ee55db12e9891e3b26ef720.tar.gz |
Fix Bug# 56228 - Dropping tables from within an active statement crashes server
InnoDB AUTOINC code expects the locks to be released in strict reverse order
at the end of the statement. However, nested stored proedures and partition
tables break this rule. We now allow the locks to be deleted from the
trx->autoinc_locks vector in any order but optimise for the common (old) case.
rb://441 Approved by Marko Makela
Diffstat (limited to 'storage/innobase/lock/lock0lock.c')
0 files changed, 0 insertions, 0 deletions