]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Merge branch 'rnv/local_execution'
authorrnv <rnv@opencascade.com>
Mon, 15 May 2017 09:00:01 +0000 (12:00 +0300)
committerrnv <rnv@opencascade.com>
Mon, 15 May 2017 09:00:01 +0000 (12:00 +0300)
src/SALOMESDS/SALOMESDS_Transaction.cxx

index 6d85116f9fee64520fb26b862f522f7738202668..26fd9affe464d43cb3b4f57c349c4df61cc192cf 100644 (file)
@@ -276,11 +276,12 @@ void TransactionMultiKeyAddSession::addKeyValueInVarErrorIfAlreadyExistingNow(co
   _dsct->checkVarExistingAndDict(_var_name);
   TransactionAddKeyValueErrorIfAlreadyExisting ret(_dsct,_var_name,key,value);
   {
-    bool mustRollback(true);
+    ret.perform();
+    /*bool mustRollback(true);
     TrustTransaction t;
     t.setTransaction(&ret,&mustRollback);
     t.operate();
-    mustRollback=false;//important let this line to notify t that everything was OK
+    mustRollback=false;//important let this line to notify t that everything was OK*/
   }
   ret.notify();
 }