Changeset: a9b8694a7f41 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a9b8694a7f41
Modified Files:
        gdk/gdk_batop.c
Branch: Jan2022
Log Message:

Minor changes.


diffs (21 lines):

diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -1455,7 +1455,7 @@ BATappend_or_update(BAT *b, BAT *p, cons
                        }
                }
        } else {
-               for (BUN i = 0, j = ni.count; i < j; i++) {
+               for (BUN i = 0; i < ni.count; i++) {
                        oid updid;
                        if (positions) {
                                /* assert(!autoincr) */
@@ -1475,7 +1475,7 @@ BATappend_or_update(BAT *b, BAT *p, cons
                                goto bailout;
                        }
 
-                       const void *new = BUNtail(ni, i);
+                       const void *new = BUNtloc(ni, i);
 
                        if (updid >= BATcount(b)) {
                                assert(mayappend);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to