diff OrthancServer/Sources/ServerIndex.cpp @ 4556:2a0f8031fb93 db-changes

removed abstraction IDatabaseWrapper::ITransaction::Begin(), must be done by IDatabaseWrapper::StartTransaction()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Mar 2021 17:31:30 +0100
parents 456ed3fcff81
children b6d4b735eb4d
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.cpp	Wed Mar 03 17:13:41 2021 +0100
+++ b/OrthancServer/Sources/ServerIndex.cpp	Wed Mar 03 17:31:30 2021 +0100
@@ -251,8 +251,6 @@
       isCommitted_(false)
     {
       transaction_.reset(index_.db_.StartTransaction());
-      transaction_->Begin();
-
       index_.listener_->StartTransaction();
     }