bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix, EODatabaseContext (-rollbackChanges)


From: Georg Fleischmann
Subject: Fix, EODatabaseContext (-rollbackChanges)
Date: Wed, 29 Sep 2010 18:18:42 +0800

Hi,

here is a little patch for EODatabaseContext (EOCooperatingObjectStoreSupport) 
to make recovery from an exception more fault-tolerant.
In -rollbackChanges, I also reset the flag _flags.preparingForSave.

* EOAccess/EODatabaseContext 
([EODatabaseContext(EOCooperatingObjectStoreSupport rollbackChanges]):
  reset _flags.preparingForSave for better recovery from an exception

Best wishes,
Georg Fleischmann



*** EOAccess/EODatabaseContext.m.old    2010-09-05 15:01:56.000000000 +0800
--- EOAccess/EODatabaseContext.m        2010-09-29 17:46:04.000000000 +0800
***************
*** 2963,2968 ****
--- 2963,2969 ----
  
  
        _flags.beganTransaction = NO;
+       _flags.preparingForSave = NO;
  
        if (_lockedObjects)
        {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]