diff Framework/Common/DatabaseManager.cpp @ 242:b97a537f4613

MySQL: Support of range reads for the storage area
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Apr 2021 17:00:02 +0200
parents a063bbf10a3e
children 8a4ce70f456a
line wrap: on
line diff
--- a/Framework/Common/DatabaseManager.cpp	Tue Apr 13 12:07:30 2021 +0200
+++ b/Framework/Common/DatabaseManager.cpp	Tue Apr 13 17:00:02 2021 +0200
@@ -269,7 +269,7 @@
     if (active_)
     {
       manager_.CommitTransaction();
-      active_ = true;
+      active_ = false;
     }
     else
     {
@@ -283,7 +283,7 @@
     if (active_)
     {
       manager_.RollbackTransaction();
-      active_ = true;
+      active_ = false;
     }
     else
     {