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)
        {



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to