* EOAccess/EODatabaseContext.m:

(-_currentCommittedSnapshotForObject:): Fix crash in logging.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20738 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2005-02-17 09:52:14 +00:00
parent cd0f130fc7
commit af63fd32b5
2 changed files with 6 additions and 3 deletions

View file

@ -3,6 +3,9 @@
* EOAccess/EOEntity.m: Remove unnecessary include.
(-setClassProperties:, -setPrimaryKeyAttributes:)
(-setAttributesUsedForLocking:): Remove unnecessary casts.
* EOAccess/EODatabaseContext.m:
(-_currentCommittedSnapshotForObject:): Fix crash in logging.
2005-02-16 David Ayers <d.ayers@inode.at>

View file

@ -2493,7 +2493,7 @@ forDatabaseOperation:(EODatabaseOperation *)op
// Get a dictionary of object properties+PK+relationships CURRENT values
snapshot = [object snapshot]; //OK for Update+Insert
NSDebugMLLog(@"EODatabaseContext", @"snapshot %p: %@",
snapshot, snapshot);
NSDebugMLLog(@"EODatabaseContext",
@ -7348,7 +7348,7 @@ If the object has been just inserted, the dictionary is empty.
snapshot = [_editingContext committedSnapshotForObject: object];//OK
NSDebugMLLog(@"EODatabaseContext",
@"snapshot %p=%@",
snapshot);
snapshot, snapshot);
break;
case EODatabaseInsertOperator:
@ -7368,7 +7368,7 @@ If the object has been just inserted, the dictionary is empty.
NSDebugMLLog(@"EODatabaseContext",
@"snapshot %p=%@",
snapshot);
snapshot, snapshot);
EOFLOGObjectFnStop();