Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 2374:31cb1014300c
Switch to using sqlite's own locking mechanisms...
Automatically start a new transaction on hyperdb commit().
Better RDBMS demo.py nuke handling.
(minor doc fixes)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 28 May 2004 01:09:11 +0000 |
| parents | 10fc45eea226 |
| children | a2025bdd1491 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Fri May 28 00:56:50 2004 +0000 +++ b/roundup/backends/rdbms_common.py Fri May 28 01:09:11 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.102 2004-05-23 23:24:47 richard Exp $ +# $Id: rdbms_common.py,v 1.103 2004-05-28 01:09:11 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -1110,6 +1110,9 @@ print >>hyperdb.DEBUG, '+++ commit database connection +++' self.conn.commit() + # open a new cursor for subsequent work + self.cursor = self.conn.cursor() + def commit(self): ''' Commit the current transactions.
