On Tue, Jul 18, 2006 at 10:43:59AM -0500, Luke Opperman wrote:
> Index: dbconnection.py
> ===================================================================
> --- dbconnection.py (revision 1827)
> +++ dbconnection.py (working copy)
> @@ -837,8 +837,6 @@
> if self._dbConnection.debug:
> self._dbConnection.printDebug(self._connection, '', 'COMMIT')
> self._connection.commit()
> - if close:
> - self._makeObsolete()
> subCaches = [(sub[0], sub[1].allIDs()) for sub in
> self.cache.allSubCachesByClassNames().items()]
> subCaches.extend([(x[0], x[1]) for x in self._deletedCache.items()])
> for cls, ids in subCaches:
> @@ -846,6 +844,8 @@
> inst = self._dbConnection.cache.tryGetByName(id, cls)
> if inst is not None:
> inst.expire()
> + if close:
> + self._makeObsolete()
>
> def rollback(self):
> if self._obsolete:
Applied and committed in the rev. 1840 to the trunk. Thank you!
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss