summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorthek@adventure.(none) <>2007-07-27 16:56:29 +0200
committerthek@adventure.(none) <>2007-07-27 16:56:29 +0200
commit889b4ebcee0cbbc01cc1d87d04a9c2524dc49408 (patch)
tree2debe5900b642c4da4ed6a2427488d82f62e2784 /sql/sql_cache.h
parent4c208499a409d9e558ca019e9e101115d801bab7 (diff)
downloadmariadb-git-889b4ebcee0cbbc01cc1d87d04a9c2524dc49408.tar.gz
Bug #29929 LOCK TABLES does not pre-lock tables used in triggers of the locked tables
When a table was explicitly locked with LOCK TABLES no associated tables from any related trigger on the subject table were locked. As a result of this the user could experience unexpected locking behavior and statement failures similar to "failed: 1100: Table'xx' was not locked with LOCK TABLES". This patch fixes this problem by making sure triggers are pre-loaded on any statement if the subject table was explicitly locked with LOCK TABLES.
Diffstat (limited to 'sql/sql_cache.h')
0 files changed, 0 insertions, 0 deletions