Changeset: 501e0e5c9af2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=501e0e5c9af2 Modified Files: sql/storage/bat/bat_logger.c Branch: unlock Log Message:
Better place to disable. diffs (24 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 @@ -28,6 +28,10 @@ bl_preversion(sqlstore *store, int oldve { (void)newversion; +/* disable upgrades for now */ + if (store->catalog_version < 52300) + return GDK_FAIL; + #ifdef CATALOG_JUN2020 if (oldversion == CATALOG_JUN2020) { /* upgrade to default releases */ @@ -585,9 +589,6 @@ bl_postversion(void *Store, void *lg) sqlstore *store = Store; (void)store; (void)lg; -/* disable upgrades for now */ - if (store->catalog_version < 52300) - return GDK_FAIL; upgrade(lg); #ifdef CATALOG_JUN2020 if (store->catalog_version <= CATALOG_JUN2020) { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list