Mercurial > hg > orthanc-databases
changeset 621:f00417b34bbb
fix pg unit tests (3)
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 18 Dec 2024 12:41:21 +0100 |
parents | 28fd73902e60 |
children | 218e145da8a3 |
files | Framework/Plugins/IndexUnitTests.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Plugins/IndexUnitTests.h Wed Dec 18 12:29:54 2024 +0100 +++ b/Framework/Plugins/IndexUnitTests.h Wed Dec 18 12:41:21 2024 +0100 @@ -700,6 +700,8 @@ } } +#if ORTHANC_ENABLE_POSTGRESQL == 0 // In PostgreSQL, remaining ancestor are implemented in the PostgreSQLIndex, not in the IndexBackend. Note: they are tested in the integration tests + for (size_t level = 1; level < 4; level++) { for (size_t attachmentLevel = 0; attachmentLevel < 4; attachmentLevel++) @@ -799,6 +801,7 @@ } } } +#endif manager->Close(); }