mirror of
https://github.com/MariaDB/server.git
synced 2025-07-17 12:02:09 +03:00
Merge remote-tracking branch 'origin/10.1' into 10.2
This commit is contained in:
@ -155,10 +155,11 @@ static void mysql_ha_close_table(SQL_HANDLER *handler)
|
||||
{
|
||||
THD *thd= handler->thd;
|
||||
TABLE *table= handler->table;
|
||||
DBUG_ENTER("mysql_ha_close_table");
|
||||
|
||||
/* check if table was already closed */
|
||||
if (!table)
|
||||
return;
|
||||
DBUG_VOID_RETURN;
|
||||
|
||||
if (!table->s->tmp_table)
|
||||
{
|
||||
@ -183,6 +184,7 @@ static void mysql_ha_close_table(SQL_HANDLER *handler)
|
||||
}
|
||||
my_free(handler->lock);
|
||||
handler->init();
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user