Changeset: 8fa8c1f4fe6c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8fa8c1f4fe6c
Modified Files:
tools/monetdbe/monetdbe.c
Branch: Jul2021
Log Message:
Always set affected_rows in monetdbe_execute when possible.
diffs (12 lines):
diff --git a/tools/monetdbe/monetdbe.c b/tools/monetdbe/monetdbe.c
--- a/tools/monetdbe/monetdbe.c
+++ b/tools/monetdbe/monetdbe.c
@@ -1598,7 +1598,7 @@ monetdbe_execute(monetdbe_statement *stm
if ((mdbe->msg = callMAL(mdbe->c, s->def, &glb, stmt_internal->args,
0)) != MAL_SUCCEED)
goto cleanup;
- if (b->results && b->rowcnt >= 0 && affected_rows)
+ if (b->rowcnt >= 0 && affected_rows)
*affected_rows = b->rowcnt;
if (result) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list