* EOAccess/EODatabase.m (-snapshots): Return an autoreleased copy.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23656 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-09-28 17:01:29 +00:00
parent 0412fd6a40
commit e181d5707e
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,8 @@
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
(+dropTableStatementsForEntityGroup:): Ditto.
* EOAccess/EODatabase.m (-snapshots): Return an autoreleased copy.
2006-09-27 Matt Rice <ratmice@yahoo.com>
(-selectNext): Implement.

View file

@ -643,7 +643,7 @@ static NSMutableArray *databaseInstances;
- (NSDictionary *)snapshots
{
return _snapshots;
return AUTORELEASE([_snapshots copy]);
}
@end /* EODatabase (EOUniquing) */