Changeset: 37af2f3122ec for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/37af2f3122ec
Modified Files:
clients/odbc/driver/SQLPrepare.c
Branch: Sep2022
Log Message:
Always get complete result set from a prepare query.
diffs (15 lines):
diff --git a/clients/odbc/driver/SQLPrepare.c b/clients/odbc/driver/SQLPrepare.c
--- a/clients/odbc/driver/SQLPrepare.c
+++ b/clients/odbc/driver/SQLPrepare.c
@@ -97,6 +97,11 @@ MNDBPrepare(ODBCStmt *stmt,
ODBCResetStmt(stmt);
+ if (mt->Dbc->cachelimit != -1) {
+ mapi_cache_limit(stmt->Dbc->mid, -1);
+ stmt->Dbc->cachelimit = -1;
+ }
+
ret = mapi_query_handle(hdl, s);
free(s);
s = NULL;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]