summaryrefslogtreecommitdiff
path: root/storage/innobase/lock/lock0lock.c
diff options
context:
space:
mode:
authorSunny Bains <Sunny.Bains@Oracle.Com>2010-11-30 20:11:26 +1100
committerSunny Bains <Sunny.Bains@Oracle.Com>2010-11-30 20:11:26 +1100
commita699e4fce85a055e3ee55db12e9891e3b26ef720 (patch)
tree10f0c9b9023c00d3a20e3e5226cf003ada5b6ead /storage/innobase/lock/lock0lock.c
parente92d96195b4e406a5343a81ee56ae61dce337c59 (diff)
downloadmariadb-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