Changeset: d3e5f38799a7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d3e5f38799a7
Modified Files:
        gdk/gdk_logger.c
Branch: Jul2021
Log Message:

Use BUN for what is essentially a row count.


diffs (21 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -1467,7 +1467,7 @@ subcommit_list_add(int next, bat *n, BUN
 }
 
 static int
-cleanup_and_swap(logger *lg, int *r, const log_bid *bids, lng *lids, lng 
*cnts, BAT *catalog_bid, BAT *catalog_id, BAT *dcatalog, int cleanup)
+cleanup_and_swap(logger *lg, int *r, const log_bid *bids, lng *lids, lng 
*cnts, BAT *catalog_bid, BAT *catalog_id, BAT *dcatalog, BUN cleanup)
 {
        BAT *nbids, *noids, *ncnts, *nlids, *ndels;
        BUN p, q;
@@ -1592,7 +1592,7 @@ bm_subcommit(logger *lg)
        gdk_return res;
        const log_bid *bids;
        lng *cnts = NULL, *lids = NULL;
-       int cleanup = 0;
+       BUN cleanup = 0;
        lng t0 = 0;
 
        if (n == NULL || r == NULL || sizes == NULL) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to