mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix for subsequent error calls in multi-query
sql/sql_parse.cc: Fix for subsequent errors calls in multi-query tests/client_test.c: Misc cleanups
This commit is contained in:
@@ -1225,6 +1225,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
}
|
||||
thd->query_length= length;
|
||||
thd->query= packet;
|
||||
thd->net.last_error[0]= '\0';
|
||||
VOID(pthread_mutex_lock(&LOCK_thread_count));
|
||||
thd->query_id= query_id++;
|
||||
VOID(pthread_mutex_unlock(&LOCK_thread_count));
|
||||
|
||||
Reference in New Issue
Block a user