diff options
author | Konstantin Osipov <kostja@sun.com> | 2009-12-10 11:41:03 +0300 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2009-12-10 11:41:03 +0300 |
commit | db6864b2a712cb9320bdf23c38482da65949a753 (patch) | |
tree | 1af99bc4bb290dd6389f05386dda02b151f85ece /sql/sql_handler.cc | |
parent | 2e73ea7ea8a56765982ba5c8642ed5b14ef39fde (diff) | |
parent | 1b5f2b9030e0dc19eaac22de7db429b6a7ba31ae (diff) | |
download | mariadb-git-db6864b2a712cb9320bdf23c38482da65949a753.tar.gz |
Merge with next-4284.
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index a7fe5a03f10..1966c7d8b39 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -321,6 +321,7 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, bool reopen) can close a single table only. */ close_thread_tables(thd); + thd->mdl_context.release_all_locks(); my_error(ER_ILLEGAL_HA, MYF(0), hash_tables->alias); error= TRUE; } |