1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Unlock tables on BEGIN

sql-bench/test-create.sh:
  Made --small-test a bit faster
sql/ha_innobase.cc:
  Cleanup memory at exit
sql/mysqld.cc:
  Remove debug notes at shutdown
This commit is contained in:
unknown
2001-09-08 01:01:10 +03:00
parent dac2557acf
commit a41b148e47
4 changed files with 20 additions and 5 deletions

View File

@ -2120,6 +2120,12 @@ mysql_execute_command(void)
break;
case SQLCOM_BEGIN:
if (thd->locked_tables)
{
thd->lock=thd->locked_tables;
thd->locked_tables=0; // Will be automaticly closed
close_thread_tables(thd); // Free tables
}
if (end_active_trans(thd))
{
res= -1;