mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merged with 3.23, needs further fix-up
This commit is contained in:
@ -1842,6 +1842,7 @@ mysql_execute_command(void)
|
||||
{
|
||||
thd->lock=thd->locked_tables;
|
||||
thd->locked_tables=0; // Will be automaticly closed
|
||||
end_active_trans(thd);
|
||||
}
|
||||
if (thd->global_read_lock)
|
||||
{
|
||||
@ -2293,7 +2294,7 @@ mysql_init_query(THD *thd)
|
||||
thd->lex.table_list.next= (byte**) &thd->lex.table_list.first;
|
||||
thd->fatal_error=0; // Safety
|
||||
thd->last_insert_id_used=thd->query_start_used=thd->insert_id_used=0;
|
||||
thd->sent_row_count=0;
|
||||
thd->sent_row_count=thd->examined_row_count=0;
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user