ubmit another patch by Georg Fleischmann <Georg.Fleischmann@vhf.de>.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@31509 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-10-13 20:21:38 +00:00
parent 85ea7e108e
commit d2591a8985
2 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,11 @@
2010-10-13 Fred Kiefer <FredKiefer@gmx.de>
* EOAccess/EODatabaseContext.m
([EODatabaseContext(EOCooperatingObjectStoreSupport
-rollbackChanges]): Reset _flags.preparingForSave for better
recovery from an exception.
Patch by Georg Fleischmann <Georg.Fleischmann@vhf.de>
2010-09-20 Fred Kiefer <FredKiefer@gmx.de>
* EOAccess/EOSQLQualifier.m [EONotQualifier
@ -12,14 +20,14 @@
include of <GNUstepBase/GSCategories.h> replaced by
<GNUstepBase/NSDebug+GNUstepBase.h> and
<GNUstepBase/NSThread+GNUstepBase.h>
* EOAccess/EODatabaseContext
* EOAccess/EODatabaseContext.m
([EODatabaseContext(EOCooperatingObjectStoreSupport)
-recordChangesInEditingContext]): for isToMany relationships, call
-relayAttributesInRelationship:sourceObject:destinationObjects:
(with 's' !).
* EOAccess/EODatabaseContext ([EODatabaseContext -_fireArrayFault:]):
* EOAccess/EODatabaseContext.m ([EODatabaseContext -_fireArrayFault:]):
test if object is still a fault before calling -clearFault:
* EOAccess/EODatabaseContext ([EODatabaseContext
* EOAccess/EODatabaseContext.m ([EODatabaseContext
-objectsWithFetchSpecification:editingContext:]): call
beginTransaction only for pessimistic locking.
Patch by Georg Fleischmann <Georg.Fleischmann@vhf.de>

View file

@ -2960,9 +2960,8 @@ Raises an exception is the adaptor is unable to perform the operations.
{
[_adaptorContext rollbackTransaction];
_flags.beganTransaction = NO;
_flags.preparingForSave = NO;
if (_lockedObjects)
{