# HG changeset patch # User Alain Mazy # Date 1786951773 -7200 # Node ID 74c92e5ff21dd2d638c571c6802c3bfeccd0cc5d # Parent 70bd4930492907f1865f6f1da6ae48d81a461be3# Parent 80d9c8c77a91b46e582168f28de511b126415e9c merge diff -r 70bd49304929 -r 74c92e5ff21d Framework/SQLite/SQLiteTransaction.cpp --- a/Framework/SQLite/SQLiteTransaction.cpp Mon Aug 17 09:29:09 2026 +0200 +++ b/Framework/SQLite/SQLiteTransaction.cpp Mon Aug 17 09:29:33 2026 +0200 @@ -27,8 +27,10 @@ #include "SQLiteStatement.h" #include // For std::unique_ptr<> + #include "../../Resources/Orthanc/Plugins/OrthancPluginException.h" + namespace OrthancDatabases { SQLiteTransaction::SQLiteTransaction(SQLiteDatabase& database) : @@ -54,4 +56,10 @@ { dynamic_cast(statement).ExecuteWithoutResult(*this, parameters); } + + + bool SQLiteTransaction::DoesSchemaExist(const std::string& name) + { + PLUGIN_THROW_WITH_FILE_AND_LINE_INFO(Orthanc::ErrorCode_NotImplemented); + } } diff -r 70bd49304929 -r 74c92e5ff21d Framework/SQLite/SQLiteTransaction.h --- a/Framework/SQLite/SQLiteTransaction.h Mon Aug 17 09:29:09 2026 +0200 +++ b/Framework/SQLite/SQLiteTransaction.h Mon Aug 17 09:29:33 2026 +0200 @@ -69,10 +69,7 @@ return database_.GetObject().DoesTableExist(name.c_str()); } - virtual bool DoesSchemaExist(const std::string& name) ORTHANC_OVERRIDE - { - PLUGIN_THROW_WITH_FILE_AND_LINE_INFO(Orthanc::ErrorCode_NotImplemented); - } + virtual bool DoesSchemaExist(const std::string& name) ORTHANC_OVERRIDE; virtual bool DoesIndexExist(const std::string& name) ORTHANC_OVERRIDE {