1
0
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:
gluh@eagle.intranet.mysql.r18.ru
2005-05-27 18:01:09 +05:00
parent eaa7f6ab88
commit 26e9e13c26
2 changed files with 24 additions and 3 deletions

View File

@ -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