Changeset: 6d34f91dce8d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6d34f91dce8d
Modified Files:
        tools/monetdbe/monetdbe.c
Branch: Jul2021
Log Message:

The affected rows were not propagated.


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
@@ -1583,7 +1583,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->results && 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

Reply via email to