[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7996 - trunk/gnue-common/src/datasources/drivers/sql/sqlite2
From: |
johannes |
Subject: |
[gnue] r7996 - trunk/gnue-common/src/datasources/drivers/sql/sqlite2 |
Date: |
Wed, 28 Sep 2005 12:35:46 -0500 (CDT) |
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7996 - trunk/gnue-common/src/datasources/drivers/sql/sqlite2,
johannes <=