mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 09:40:59 +00:00
* EOAccess/EODatabaseContext.m
(prepareForSaveWithCoordinator:editingContext:): Correct logic for primary key generation. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30219 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1ac1fc7f7d
commit
7d7f63a828
2 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
* DBModeler/ConsistencyChecker.m (attributeDetailsCheckForModel:)
|
||||
Fix iterator variable.
|
||||
* EOAccess/EODatabaseContext.m
|
||||
(prepareForSaveWithCoordinator:editingContext:): Correct logic
|
||||
for primary key generation.
|
||||
|
||||
2010-04-21 David Ayers <ayers@fsfe.org>
|
||||
|
||||
|
|
|
@ -2396,7 +2396,7 @@ forDatabaseOperation:(EODatabaseOperation *)op
|
|||
i--;
|
||||
};
|
||||
}
|
||||
else if (round>0)
|
||||
else if (round == 0)
|
||||
{
|
||||
if (!noPKObjects)
|
||||
noPKObjects=(NSMutableArray*)[NSMutableArray array];
|
||||
|
|
Loading…
Reference in a new issue