changeset 319:baaa265d84f4

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Jul 2021 08:14:24 +0200
parents 4a4087a79b9b
children 1ff0751efd67
files Framework/Plugins/IndexUnitTests.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Plugins/IndexUnitTests.h	Mon Jul 19 15:22:41 2021 +0200
+++ b/Framework/Plugins/IndexUnitTests.h	Tue Jul 20 08:14:24 2021 +0200
@@ -210,10 +210,10 @@
 #elif ORTHANC_ENABLE_MYSQL == 1
   MySQLIndex db(&context, globalParameters_);
   db.SetClearAll(true);
-#elif ORTHANC_ENABLE_SQLITE == 1
-  SQLiteIndex db(&context);  // Open in memory
 #elif ORTHANC_ENABLE_ODBC == 1
   OdbcIndex db(&context, connectionString_);
+#elif ORTHANC_ENABLE_SQLITE == 1  // Must be the last one
+  SQLiteIndex db(&context);  // Open in memory
 #else
 #  error Unsupported database backend
 #endif