# HG changeset patch # User Sebastien Jodogne # Date 1420818396 -3600 # Node ID cf5bd2dc3b7ad17d94a722d29492f7aea68c5fa4 # Parent d3e1548ca08e426c88f100e11a5c6b7f48ed8c9f fix diff -r d3e1548ca08e -r cf5bd2dc3b7a OrthancServer/ServerIndex.cpp --- a/OrthancServer/ServerIndex.cpp Thu Jan 08 17:50:28 2015 +0100 +++ b/OrthancServer/ServerIndex.cpp Fri Jan 09 16:46:36 2015 +0100 @@ -221,11 +221,11 @@ index_(index), isCommitted_(false) { - assert(index_.currentStorageSize_ == index_.db_.GetTotalCompressedSize()); - transaction_.reset(index_.db_.StartTransaction()); transaction_->Begin(); + assert(index_.currentStorageSize_ == index_.db_.GetTotalCompressedSize()); + index_.listener_->StartTransaction(); }