Skip to content

Commit 986136b

Browse files
committed
Extend MDBValidator to validate new table tmp.dependencies on pkey uniqueness, fkey integrity and not null.
1 parent 6eab737 commit 986136b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/main/java/org/monetdb/util/MDBvalidator.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,7 @@ private static String minimumWidth(int val, int minWidth) {
10351035
private static final String[][] tmp_pkeys = {
10361036
{"_tables", "id", null},
10371037
{"_columns", "id", null},
1038+
{"dependencies", "id, depend_id", "56"}, // table tmp.dependencies new since 11.55.3 (Dec2025-SP1)
10381039
{"objects", "id, nr", null},
10391040
{"keys", "id", null},
10401041
{"idxs", "id", null},
@@ -1236,6 +1237,10 @@ private static String minimumWidth(int val, int minWidth) {
12361237
{"_tables", "\"type\"", "table_type_id", "sys.table_types", "21"},
12371238
{"_columns", "table_id", "id", "_tables", null},
12381239
{"_columns", "\"type\"", "sqlname", "sys.types", null},
1240+
// table tmp.dependencies new since 11.55.3 (Dec2025-SP1)
1241+
{"dependencies", "id", "id", "sys.ids", "56"},
1242+
{"dependencies", "depend_id", "id", "sys.ids", "56"},
1243+
{"dependencies", "depend_type", "dependency_type_id", "sys.dependency_types", "56"},
12391244
{"keys", "id", "id", "objects", null},
12401245
{"keys", "table_id", "id", "_tables", null},
12411246
{"keys", "\"type\"", "key_type_id", "sys.key_types", "27"},
@@ -1480,6 +1485,10 @@ private static String minimumWidth(int val, int minWidth) {
14801485
{"_tables", "system", null},
14811486
{"_tables", "commit_action", null},
14821487
{"_tables", "access", null},
1488+
// table tmp.dependencies new since 11.55.3 (Dec2025-SP1)
1489+
{"dependencies", "id", "56"},
1490+
{"dependencies", "depend_id", "56"},
1491+
{"dependencies", "depend_type", "56"},
14831492
{"idxs", "id", null},
14841493
{"idxs", "table_id", null},
14851494
{"idxs", "\"type\"", null},

0 commit comments

Comments
 (0)