1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed crashes in embedded-server tests

This commit is contained in:
holyfoot@deer.(none)
2006-02-28 12:21:56 +04:00
parent d49995d16e
commit 91d09f4635

View File

@ -989,9 +989,7 @@ bool select_send::send_data(List<Item> &items)
thd->sent_row_count++;
if (!thd->vio_ok())
DBUG_RETURN(0);
if (thd->net.report_error)
protocol->remove_last_row();
else
if (!thd->net.report_error)
DBUG_RETURN(protocol->write());
protocol->remove_last_row();
DBUG_RETURN(1);