Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexUnitTests.h @ 309:d192bfd0e752
tagging globalParameters_ as static in MySQL
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 12 Jul 2021 18:45:09 +0200 |
parents | 8de3a1ecac11 |
children | 5f0d5f849944 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexUnitTests.h Mon Jul 12 17:22:53 2021 +0200 +++ b/Framework/Plugins/IndexUnitTests.h Mon Jul 12 18:45:09 2021 +0200 @@ -44,6 +44,8 @@ # define HAS_REVISIONS 0 #elif ORTHANC_ENABLE_SQLITE == 1 # define HAS_REVISIONS 1 +#elif ORTHANC_ENABLE_ODBC == 1 +# define HAS_REVISIONS 1 #else # error Unknown database backend #endif @@ -210,6 +212,8 @@ db.SetClearAll(true); #elif ORTHANC_ENABLE_SQLITE == 1 SQLiteIndex db(&context); // Open in memory +#elif ORTHANC_ENABLE_ODBC == 1 + OdbcIndex db(&context, connectionString_); #else # error Unsupported database backend #endif