mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02: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:
parent
fccbabe089
commit
ae4a9ea8cc
2 changed files with 33 additions and 20 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue