mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 17:50:47 +00:00
* EOAccess/EODatabase.m (setUpdateStrategy:): Count the snapshots
to determine if we actually already have fetched them. Reported by: Thierry Delhaise <befree_fr@mac.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28085 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a7738a050
commit
97bdca0839
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-03-16 David Ayers <ayers@fsfe.org>
|
||||
|
||||
* EOAccess/EODatabase.m (setUpdateStrategy:): Count the snapshots
|
||||
to determine if we actually already have fetched them.
|
||||
Reported by: Thierry Delhaise <befree_fr@mac.com>
|
||||
|
||||
2009-03-03 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* DBModeler/ModelerAttributeEditor.m
|
||||
|
@ -14,7 +20,6 @@
|
|||
(-delete:): Revert the selection back to the viewed object, and
|
||||
activate the new selection.
|
||||
|
||||
|
||||
2009-03-02 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* DBModeler/ModelerAttributeEditor.m (dealloc): Remove observers and
|
||||
|
|
|
@ -575,7 +575,7 @@ May raise an exception if transaction has began or if you want pessimistic lock
|
|||
|
||||
//Can't set pessimistic locking where there's already snapshosts !
|
||||
if (strategy == EOUpdateWithPessimisticLocking
|
||||
&& [_database snapshots])
|
||||
&& [[_database snapshots] count])
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"%@ -- %@ 0x%x: can't set EOUpdateWithPessimisticLocking when receive's EODatabase already has snapshots",
|
||||
NSStringFromSelector(_cmd),
|
||||
|
|
Loading…
Reference in a new issue