Changeset: 43220cfff8eb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=43220cfff8eb
Modified Files:
clients/mapilib/mapi.c
Branch: protocol
Log Message:
Consume server flush after reading entire resultset.
diffs (15 lines):
diff --git a/clients/mapilib/mapi.c b/clients/mapilib/mapi.c
--- a/clients/mapilib/mapi.c
+++ b/clients/mapilib/mapi.c
@@ -5520,9 +5520,11 @@ mapi_fetch_row(MapiHdl hdl)
result = hdl->result;
// check if we have read the entire result set
if (result->rows_read >= result->row_count) {
+ char dummy;
hdl->mid->active = NULL;
hdl->active = NULL;
bs2_resetbuf(hdl->mid->from);
+ mnstr_readChr(hdl->mid->from, &dummy);
return 0;
}
// if not, check if our cache is empty
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list