diff options
author | Jon Olav Hauglid <jon.hauglid@oracle.com> | 2010-11-16 11:00:12 +0100 |
---|---|---|
committer | Jon Olav Hauglid <jon.hauglid@oracle.com> | 2010-11-16 11:00:12 +0100 |
commit | 0ef8d8e26c39b71e3e50348332bc2f542df2aa7c (patch) | |
tree | 51b238d7f54d17bf3bd843bab00120cc801d8b9c /sql/item_func.cc | |
parent | 0caa22b145db22b718434566720fb7dea715692c (diff) | |
download | mariadb-git-0ef8d8e26c39b71e3e50348332bc2f542df2aa7c.tar.gz |
Bug #57663 Concurrent statement using stored function and DROP DATABASE
breaks SBR
This pre-requisite patch refactors the code for dropping tables, used
by DROP TABLE and DROP DATABASE. The patch moves the code for acquiring
metadata locks out of mysql_rm_table_part2() and makes it the
responsibility of the caller. This in preparation of changing the
DROP DATABASE implementation to acquire all metadata locks before any
changes are made. mysql_rm_table_part2() is renamed
mysql_rm_table_no_locks() to reflect the change.
Diffstat (limited to 'sql/item_func.cc')
0 files changed, 0 insertions, 0 deletions