From d5399300e9ece38e440dc4f7b5185abeff7722b9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 19 Nov 2025 15:32:38 +0000 Subject: [PATCH] C++: Add `databaseMetadata` and `overlayChangedFiles` tables to dbscheme --- cpp/ql/lib/semmlecode.cpp.dbscheme | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/cpp/ql/lib/semmlecode.cpp.dbscheme b/cpp/ql/lib/semmlecode.cpp.dbscheme index 1a6854060d5..a42ce5fc943 100644 --- a/cpp/ql/lib/semmlecode.cpp.dbscheme +++ b/cpp/ql/lib/semmlecode.cpp.dbscheme @@ -1,3 +1,4 @@ + /*- Compilations -*/ /** @@ -2378,6 +2379,24 @@ link_parent( int link_target : @link_target ref ); +/** + * The CLI will automatically emit applicable tuples for this table, + * such as `databaseMetadata("isOverlay", "true")` when building an + * overlay database. + */ +databaseMetadata( + string metadataKey: string ref, + string value: string ref +); + +/** + * The CLI will automatically emit tuples for each new/modified/deleted file + * when building an overlay database. + */ +overlayChangedFiles( + string path: string ref +); + /*- XML Files -*/ xmlEncoding(