Mercurial > hg > orthanc-databases
changeset 450:c437ec7be2b0 pg-transactions
removed redundant statements that are now in PrepareIndex.sql
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 17 Jan 2024 17:30:08 +0100 |
parents | da0586c5cbd8 |
children | 392ac133a491 |
files | PostgreSQL/Plugins/PostgreSQLIndex.cpp |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp Wed Jan 17 17:29:43 2024 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp Wed Jan 17 17:30:08 2024 +0100 @@ -68,14 +68,6 @@ Orthanc::EmbeddedResources::GetFileResource (query, Orthanc::EmbeddedResources::POSTGRESQL_PREPARE_INDEX); t.GetDatabaseTransaction().ExecuteMultiLines(query); - - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_DatabaseSchemaVersion, 6); - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_DatabasePatchLevel, 2); - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_HasCreateInstance, 3); // this is the 3rd version ! - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_HasTrigramIndex, 1); - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_GetTotalSizeIsFast, 1); - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_HasFastCountResources, 1); - SetGlobalIntegerProperty(manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_GetLastChangeIndex, 1); } void PostgreSQLIndex::ConfigureDatabase(DatabaseManager& manager,