[Modeling-cvs] SF.net SVN: modeling: [996] trunk/ProjectModeling/Modeling/DatabaseAdaptors/SQLiteAda
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2006-04-22 13:34:36
|
Revision: 996 Author: sbigaret Date: 2006-04-22 06:34:27 -0700 (Sat, 22 Apr 2006) ViewCVS: http://svn.sourceforge.net/modeling/?rev=996&view=rev Log Message: ----------- Removed useless commented code Modified Paths: -------------- trunk/ProjectModeling/Modeling/DatabaseAdaptors/SQLiteAdaptorLayer/SQLiteAdaptorContext.py Modified: trunk/ProjectModeling/Modeling/DatabaseAdaptors/SQLiteAdaptorLayer/SQLiteAdaptorContext.py =================================================================== --- trunk/ProjectModeling/Modeling/DatabaseAdaptors/SQLiteAdaptorLayer/SQLiteAdaptorContext.py 2006-04-19 20:30:59 UTC (rev 995) +++ trunk/ProjectModeling/Modeling/DatabaseAdaptors/SQLiteAdaptorLayer/SQLiteAdaptorContext.py 2006-04-22 13:34:27 UTC (rev 996) @@ -33,24 +33,6 @@ """ Concrete AdaptorContext for SQLite [module pysqlite] """ - #def adaptorChannelDidClose(self, aChannel): - # """ - # Invokes AbstractDBAPI2AdaptorContext.adaptorChannelDidClose(), then - # rollbacks the connection if it still exists (it might have been closed by - # the superclass' method depending on the configuration) AND if the adaptor - # uses psycopg AND if there is no more opened channels. - # - # The reason for that is that psycopg insolates each connection from - # another, hence if an other process make changes to the database these - # changes wont be seen unless the connection itself is closed or rolled - # back. - # """ - # AbstractDBAPI2AdaptorContext.adaptorChannelDidClose(self, aChannel) - # from SQLiteAdaptor import _uses_psycopg - # if _uses_psycopg and not self.hasOpenChannels() and self._cnx: - # ## rollbacks the connexion - # db_debug('psycopg specifics: ROLLBACK on cnx') - # self._cnx.rollback() def createAdaptorChannel(self): """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |