mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for bug #9992: mysql_next_result hangs on error
set net->no_send_error to 0 before execution of each element of multiquery statement to provide the sending of error to client
This commit is contained in:
@ -1655,6 +1655,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
while (!thd->killed && thd->lex->found_semicolon && !thd->net.report_error)
|
||||
{
|
||||
char *packet= thd->lex->found_semicolon;
|
||||
net->no_send_error= 0;
|
||||
/*
|
||||
Multiple queries exits, execute them individually
|
||||
in embedded server - just store them to be executed later
|
||||
|
Reference in New Issue
Block a user