Changeset: 586c58d37451 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/586c58d37451
Modified Files:
sql/storage/bat/bat_logger.c
sql/storage/store.c
Branch: default
Log Message:
Increment catalog version.
diffs (40 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
@@ -19,6 +19,7 @@
#define CATALOG_JUN2020_MMT 52206 /* only in Jun2020-mmt */
#define CATALOG_OCT2020 52205 /* first in Oct2020 */
#define CATALOG_JUL2021 52300 /* first in Jul2021 */
+#define CATALOG_JAN2022 52301 /* first in Jan2022 */
/* Note, CATALOG version 52300 is the first one where the basic system
* tables (the ones created in store.c) have fixed and unchangeable
@@ -71,6 +72,14 @@ bl_preversion(sqlstore *store, int oldve
}
#endif
+#ifdef CATALOG_JAN2022
+ if (oldversion == CATALOG_JAN2022) {
+ /* upgrade to default releases */
+ store->catalog_version = oldversion;
+ return GDK_SUCCEED;
+ }
+#endif
+
return GDK_FAIL;
}
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -18,8 +18,8 @@
#include "bat/bat_table.h"
#include "bat/bat_logger.h"
-/* version 05.23.01 of catalog */
-#define CATALOG_VERSION 52301 /* first in Jan2022 */
+/* version 05.23.02 of catalog */
+#define CATALOG_VERSION 52302 /* first after Jan2022 */
static int sys_drop_table(sql_trans *tr, sql_table *t, int drop_action);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]