mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* EOControl/EOEditingContext.m (-_globalIDChanged:): Add key
to the snapshot dict before removing the temporary gid. Assert that the temporary gid and the new gid are not equal. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20679 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6d1dc39232
commit
42dcaabf41
2 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,10 @@
|
|||
2005-02-00 David Ayers <d.ayers@inode.at>
|
||||
2005-02-08 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* EOControl/EOEditingContext.m (-_globalIDChanged:): Add key
|
||||
to the snapshot dict before removing the temporary gid. Assert
|
||||
that the temporary gid and the new gid are not equal.
|
||||
|
||||
2005-02-08 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOAccess/EOModel.m (-init): Initialize _storedProcedures.
|
||||
(-storedProcedureNames): Simplify.
|
||||
|
|
|
@ -801,9 +801,10 @@ _mergeValueForKey(id obj, id value,
|
|||
|
||||
if (snapshot)
|
||||
{
|
||||
[_snapshotsByGID removeObjectForKey: tempGID];
|
||||
NSAssert(gid != tempGID, @"gid and temporary gid are the same");
|
||||
[_snapshotsByGID setObject: snapshot
|
||||
forKey: gid];
|
||||
forKey: gid];
|
||||
[_snapshotsByGID removeObjectForKey: tempGID];
|
||||
}
|
||||
else if (object)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue