Changeset: ffcac1bd26ec for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ffcac1bd26ec
Modified Files:
clients/odbc/driver/SQLExecute.c
Branch: Sep2022
Log Message:
Remove incorrect assert.
It seems we need to test SQLPrepare/SQLExecute with a SELECT query with
parameters. ;-)
diffs (13 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
@@ -424,9 +424,6 @@ MNDBExecute(ODBCStmt *stmt)
return SQL_ERROR;
}
- /* internal state correctness checks */
- assert(stmt->State == PREPARED0 || stmt->State == EXECUTED0 ||
stmt->ImplRowDescr->descRec != NULL);
-
assert(stmt->Dbc);
assert(stmt->Dbc->mid);
hdl = stmt->hdl;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]