summaryrefslogtreecommitdiff
path: root/tests/connect_test.c
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2010-11-17 15:37:23 +0100
committerJon Olav Hauglid <jon.hauglid@oracle.com>2010-11-17 15:37:23 +0100
commited928b14be3689926b11c5482ce76cd5d3537163 (patch)
treecb558c619600aa424da07c2a1a51bfcf4431ac1f /tests/connect_test.c
parenta84d7503008e0bb7d1b4dca72eaf42016ed1a5d9 (diff)
downloadmariadb-git-ed928b14be3689926b11c5482ce76cd5d3537163.tar.gz
Bug #57663 Concurrent statement using stored function and DROP DATABASE
breaks SBR The problem was that DROP DATABASE ignored any metadata locks on stored functions and procedures held by other connections. This made it possible for DROP DATABASE to drop functions/procedures that were in use by other connections and therefore break statement based replication. (DROP DATABASE could appear in the binlog before a statement using a dropped function/procedure.) This problem was an issue left unresolved by the patch for Bug#30977 where metadata locks for stored functions/procedures were introduced. This patch fixes the problem by making sure DROP DATABASE takes exclusive metadata locks on all stored functions/procedures to be dropped. Test case added to sp-lock.test.
Diffstat (limited to 'tests/connect_test.c')
0 files changed, 0 insertions, 0 deletions