1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Proposed fix for bug #3412 (embedded server: prepared statement returns

empty recordset where some records should be found)
This commit is contained in:
hf@deer.(none)
2004-05-28 15:59:29 +05:00
parent ccc4171276
commit 38334f62a4
6 changed files with 7 additions and 12 deletions

View File

@ -746,7 +746,7 @@ bool select_send::send_data(List<Item> &items)
}
}
thd->sent_row_count++;
if (!thd->net.vio)
if (!thd->vio_ok())
DBUG_RETURN(0);
if (!thd->net.report_error)
DBUG_RETURN(protocol->write());