Commit c0f953e5 authored by Jim Fulton's avatar Jim Fulton

Added gadfly-specific _abort so that TM can use a dbi-based version.

parent 169e2441
......@@ -83,8 +83,8 @@
#
##############################################################################
'''$Id: db.py,v 1.10 1999/08/03 13:53:08 jim Exp $'''
__version__='$Revision: 1.10 $'[11:-2]
'''$Id: db.py,v 1.11 1999/09/16 15:12:45 jim Exp $'''
__version__='$Revision: 1.11 $'[11:-2]
import os
from string import strip, split
......@@ -207,3 +207,7 @@ class DB(Shared.DC.ZRDB.THUNK.THUNKED_TM):
})
return items, result
# Gadfly needs the extra checkpoint call.
def _abort(self):
self.db.rollback()
self.db.checkpoint()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment