Changeset 2899
- Timestamp:
- 03/10/2007 03:06:44 AM (1 year ago)
- Files:
-
- branches/uwe/dabo/db/dBackend.py (modified) (3 diffs)
- branches/uwe/dabo/db/dbFirebird.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/uwe/dabo/db/dBackend.py
r2831 r2899 220 220 def beginTransaction(self, cursor): 221 221 """ Begin a SQL transaction. Override in subclasses if needed.""" 222 dabo.dbActivityLog.write("SQL: in dBackend.beginTransaction() - pass") 222 223 pass 223 224 … … 227 228 if not cursor.AutoCommit: 228 229 self._connection.commit() 230 dabo.dbActivityLog.write("SQL: in dBackend.commitTransaction() - self._connection.commit()") 229 231 230 232 … … 232 234 """ Roll back (revert) a SQL transaction.""" 233 235 self._connection.rollback() 236 dabo.dbActivityLog.write("SQL: in dBackend.rollbalTransaction() - self._connection.rollback()") 234 237 235 238 branches/uwe/dabo/db/dbFirebird.py
r2851 r2899 193 193 to the database written to disk. 194 194 """ 195 import dabo 195 196 cursor.connection.commit() 197 dabo.dbActivityLog.write("SQL: in dbFirebird.flush() - cursor.connection.commit()") 196 198 197 199
