Changeset: 9dc05f6250a4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9dc05f6250a4
Modified Files:
        sql/storage/bat/bat_logger.c
Branch: default
Log Message:

Fixed batcount at bat logger upgrade


diffs (12 lines):

diff --git a/sql/storage/bat/bat_logger.c b/sql/storage/bat/bat_logger.c
--- a/sql/storage/bat/bat_logger.c
+++ b/sql/storage/bat/bat_logger.c
@@ -998,7 +998,7 @@ bl_postversion(void *lg)
                                return GDK_FAIL;
                        }
                        const char *right_module = "aggr"; /* set module to 
'aggr' */
-                       BAT *update_bat = BATconstant(cands_project->hseqbase, 
TYPE_str, right_module, 4, TRANSIENT);
+                       BAT *update_bat = BATconstant(cands_project->hseqbase, 
TYPE_str, right_module, BATcount(cands_project), TRANSIENT);
                        bat_destroy(cands_project);
                        if (update_bat == NULL) {
                                bat_destroy(func_mod);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to