diff options
author | davi@moksha.local <> | 2007-08-15 12:13:34 -0300 |
---|---|---|
committer | davi@moksha.local <> | 2007-08-15 12:13:34 -0300 |
commit | c290b26c0eb3010eb7d605d119015eb6953060f9 (patch) | |
tree | 6d43e6ae63f62ae0335ffdc304f9d1f4eb121bb0 /BUILD/compile-pentium64-gcov | |
parent | 3c6eb0002d3ec6cc4f3dcc0d6384d34a99d8fe84 (diff) | |
download | mariadb-git-c290b26c0eb3010eb7d605d119015eb6953060f9.tar.gz |
Bug#25856 (HANDLER table OPEN in one connection lock DROP TABLE in another one)
mysql_ha_open calls mysql_ha_close on the error path (unsupported) to close the (opened) table before inserting it into the tables hash list handler_tables_hash) but mysql_ha_close only closes tables which are on the hash list, causing the table to be left open and locked.
This change moves the table close logic into a separate function that is always called on the error path of mysql_ha_open or on a normal handler close (mysql_ha_close).
Diffstat (limited to 'BUILD/compile-pentium64-gcov')
0 files changed, 0 insertions, 0 deletions