mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Followup to Bug#5985: fixing one thing that went wrong.
This commit is contained in:
@@ -3883,6 +3883,7 @@ mysql_init_query(THD *thd, uchar *buf, uint length)
|
|||||||
void mysql_reset_thd_for_next_command(THD *thd)
|
void mysql_reset_thd_for_next_command(THD *thd)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("mysql_reset_thd_for_next_command");
|
DBUG_ENTER("mysql_reset_thd_for_next_command");
|
||||||
|
thd->free_list= 0;
|
||||||
thd->select_number= 1;
|
thd->select_number= 1;
|
||||||
thd->total_warn_count= 0; // Warnings for this query
|
thd->total_warn_count= 0; // Warnings for this query
|
||||||
thd->last_insert_id_used= thd->query_start_used= thd->insert_id_used=0;
|
thd->last_insert_id_used= thd->query_start_used= thd->insert_id_used=0;
|
||||||
|
Reference in New Issue
Block a user