mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-17726: A better fix
THD::close_temporary_tables(): Revert the change. ha_innobase::delete_table(): Move the work-around inside a debug assertion, and check thd_kill_level() instead of thd_killed(), because the latter would not hold for KILL_CONNECTION.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2016,2018 MariaDB Corporation
|
||||
Copyright (c) 2016 MariaDB Corporation
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -476,7 +476,6 @@ bool THD::close_temporary_tables()
|
||||
}
|
||||
|
||||
DBUG_ASSERT(!rgi_slave);
|
||||
lex->sql_command = SQLCOM_DROP_TABLE;
|
||||
|
||||
/*
|
||||
Ensure we don't have open HANDLERs for tables we are about to close.
|
||||
|
Reference in New Issue
Block a user