diff options
author | Michael Widenius <monty@askmonty.org> | 2012-08-15 14:37:55 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-08-15 14:37:55 +0300 |
commit | a1bc3936304ae9fca8cbe5ebeb51c8f626fbd87b (patch) | |
tree | 19be3c0a5421f32258d1b8682aeb9559b6e94403 /plugin/auth_pam | |
parent | fbe5ac4e24ceaa9f75f52fba62f8c53e172e5c11 (diff) | |
download | mariadb-git-a1bc3936304ae9fca8cbe5ebeb51c8f626fbd87b.tar.gz |
Fixed MDEV-366: Assertion `share->reopen == 1' failed in maria_extra on DROP TABLE which is locked twice
mysql-test/suite/maria/lock.result:
Added test case
mysql-test/suite/maria/lock.test:
Added test case
sql/sql_table.cc:
One can't call HA_EXTRA_FORCE_REOPEN on something that may be opened twice.
It's safe to remove the call in this case as we will call HA_EXTRA_PREPARE_FOR_DROP for the table anyway.
(One nice side effect is that drop is a bit faster as we are not flushing the cache to disk before the drop anymore)
Diffstat (limited to 'plugin/auth_pam')
0 files changed, 0 insertions, 0 deletions