Changeset: b2632345c397 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b2632345c397
Modified Files:
        clients/odbc/driver/SQLExecute.c
Branch: default
Log Message:

In ODBC, set mapi cache size to either 100 or 10000, not 1000.


diffs (14 lines):

diff --git a/clients/odbc/driver/SQLExecute.c b/clients/odbc/driver/SQLExecute.c
--- a/clients/odbc/driver/SQLExecute.c
+++ b/clients/odbc/driver/SQLExecute.c
@@ -488,8 +488,8 @@ MNDBExecute(ODBCStmt *stmt)
        if (stmt->next == NULL && stmt->Dbc->FirstStmt == stmt &&
            stmt->cursorType == SQL_CURSOR_FORWARD_ONLY) {
                /* we're the only Stmt handle, and we're only going forward */
-               if (stmt->Dbc->cachelimit != 1000)
-                       mapi_cache_limit(stmt->Dbc->mid, 1000);
+               if (stmt->Dbc->cachelimit != 10000)
+                       mapi_cache_limit(stmt->Dbc->mid, 10000);
                stmt->Dbc->cachelimit = 1000;
        } else {
                if (stmt->Dbc->cachelimit != 100)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to