Author: johannes
Date: 2005-09-26 03:39:02 -0500 (Mon, 26 Sep 2005)
New Revision: 7996

Modified:
   trunk/gnue-common/src/datasources/drivers/sql/sqlite2/pysqlitedrv.py
Log:
Added missing comment


Modified: trunk/gnue-common/src/datasources/drivers/sql/sqlite2/pysqlitedrv.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sql/sqlite2/pysqlitedrv.py        
2005-09-26 08:32:05 UTC (rev 7995)
+++ trunk/gnue-common/src/datasources/drivers/sql/sqlite2/pysqlitedrv.py        
2005-09-26 08:39:02 UTC (rev 7996)
@@ -128,7 +128,11 @@
   def __init__ (self, connections, name, parameters):
 
     DBSIG2.Connection.__init__ (self, connections, name, parameters)
-    # FIXME: what was the problem with transactions? Comment should go here.
+
+    # If autocommit is False, sqlite2 opens the database file with an exclusive
+    # lock. If autocommit is True, no exclusive lock is made, but every
+    # statement is sent to the database. Since appserver is able to handle
+    # transactions on it's own, we turn on autocommit.
     self.__noTransactions = parameters.get ('appserver', False)
 
 



_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to