mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed crashes in embedded-server tests
This commit is contained in:
@ -989,9 +989,7 @@ bool select_send::send_data(List<Item> &items)
|
|||||||
thd->sent_row_count++;
|
thd->sent_row_count++;
|
||||||
if (!thd->vio_ok())
|
if (!thd->vio_ok())
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
if (thd->net.report_error)
|
if (!thd->net.report_error)
|
||||||
protocol->remove_last_row();
|
|
||||||
else
|
|
||||||
DBUG_RETURN(protocol->write());
|
DBUG_RETURN(protocol->write());
|
||||||
protocol->remove_last_row();
|
protocol->remove_last_row();
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
|
Reference in New Issue
Block a user