Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexUnitTests.h @ 204:7299410c3d61
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 18:22:30 +0100 |
parents | 2089d4071408 |
children | d9ef3f16e6a2 |
comparison
equal
deleted
inserted
replaced
203:2089d4071408 | 204:7299410c3d61 |
---|---|
177 SQLiteIndex db(&context); // Open in memory | 177 SQLiteIndex db(&context); // Open in memory |
178 #else | 178 #else |
179 # error Unsupported database backend | 179 # error Unsupported database backend |
180 #endif | 180 #endif |
181 | 181 |
182 db.SetOutputFactory(new DatabaseBackendOutputV2::Factory(&context, NULL)); | 182 db.SetOutputFactory(new DatabaseBackendAdapterV2::Factory(&context, NULL)); |
183 db.Open(); | 183 db.Open(); |
184 | 184 |
185 std::unique_ptr<IDatabaseBackendOutput> output(db.CreateOutput()); | 185 std::unique_ptr<IDatabaseBackendOutput> output(db.CreateOutput()); |
186 | 186 |
187 | 187 |