Modified: CalendarServer/branches/users/glyph/sharedpool/txdav/common/datastore/sql.py (6492 => 6493)
--- CalendarServer/branches/users/glyph/sharedpool/txdav/common/datastore/sql.py 2010-11-01 21:11:58 UTC (rev 6492)
+++ CalendarServer/branches/users/glyph/sharedpool/txdav/common/datastore/sql.py 2010-11-01 21:12:20 UTC (rev 6493)
@@ -285,13 +285,14 @@
def execSQL(self, *a, **kw):
"""
+ Execute some SQL (delegate to L{IAsyncTransaction}).
"""
return self._sqlTxn.execSQL(*a, **kw)
def commit(self):
"""
- Commit the transaction and return
+ Commit the transaction and execute any post-commit hooks.
"""
def postCommit(ignored):
for operation in self._postCommitOperations:
@@ -302,7 +303,7 @@
def abort(self):
"""
- docstring for abort
+ Abort the transaction.
"""
return self._sqlTxn.abort()