summaryrefslogtreecommitdiff
path: root/BUILD/compile-amd64-gcov
diff options
context:
space:
mode:
authorunknown <davi@moksha.local>2007-08-15 12:13:34 -0300
committerunknown <davi@moksha.local>2007-08-15 12:13:34 -0300
commit9c1ffac09a120989b438603fd89d110b95691bed (patch)
tree6d43e6ae63f62ae0335ffdc304f9d1f4eb121bb0 /BUILD/compile-amd64-gcov
parente6701d746df9f4ed778fac78870c6639e4c84880 (diff)
downloadmariadb-git-9c1ffac09a120989b438603fd89d110b95691bed.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). mysql-test/r/handler.result: Bug#25856 test result mysql-test/t/handler.test: Bug#25856 test case sql/sql_handler.cc: Move 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
Diffstat (limited to 'BUILD/compile-amd64-gcov')
0 files changed, 0 insertions, 0 deletions