Mercurial > hg > orthanc-databases
changeset 830:74c92e5ff21d
merge
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Mon, 17 Aug 2026 09:29:33 +0200 |
| parents | 70bd49304929 (current diff) 80d9c8c77a91 (diff) |
| children | 7fcd07896d05 |
| files | |
| diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 <Compatibility.h> // For std::unique_ptr<> + #include "../../Resources/Orthanc/Plugins/OrthancPluginException.h" + namespace OrthancDatabases { SQLiteTransaction::SQLiteTransaction(SQLiteDatabase& database) : @@ -54,4 +56,10 @@ { dynamic_cast<SQLiteStatement&>(statement).ExecuteWithoutResult(*this, parameters); } + + + bool SQLiteTransaction::DoesSchemaExist(const std::string& name) + { + PLUGIN_THROW_WITH_FILE_AND_LINE_INFO(Orthanc::ErrorCode_NotImplemented); + } }
--- 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 {
