Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d039974a
Commit
d039974a
authored
Apr 13, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_vote(): Removed, base class implements it.
parent
721d56d4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
lib/python/BDBStorage/BDBMinimalStorage.py
lib/python/BDBStorage/BDBMinimalStorage.py
+1
-6
lib/python/BDBStorage/Minimal.py
lib/python/BDBStorage/Minimal.py
+1
-6
No files found.
lib/python/BDBStorage/BDBMinimalStorage.py
View file @
d039974a
...
@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
...
@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning.
and versioning.
"""
"""
# $Revision: 1.
7
$
# $Revision: 1.
8
$
__version__
=
'0.1'
__version__
=
'0.1'
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
...
@@ -52,11 +52,6 @@ class Minimal(BerkeleyBase):
...
@@ -52,11 +52,6 @@ class Minimal(BerkeleyBase):
self
.
_commitlog
=
PacklessLog
(
dir
=
self
.
_env
.
db_home
)
self
.
_commitlog
=
PacklessLog
(
dir
=
self
.
_env
.
db_home
)
self
.
_commitlog
.
start
()
self
.
_commitlog
.
start
()
def
_vote
(
self
,
transaction
):
# From here on out, we promise to commit all the registered changes,
# so rewind and put our commit log in the PROMISED state.
self
.
_commitlog
.
promise
()
def
_finish
(
self
,
tid
,
u
,
d
,
e
):
def
_finish
(
self
,
tid
,
u
,
d
,
e
):
# This is called from the storage interface's tpc_finish() method.
# This is called from the storage interface's tpc_finish() method.
# Its responsibilities are to finish the transaction with the
# Its responsibilities are to finish the transaction with the
...
...
lib/python/BDBStorage/Minimal.py
View file @
d039974a
...
@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
...
@@ -4,7 +4,7 @@ See Full.py for an implementation of Berkeley storage that does support undo
and versioning.
and versioning.
"""
"""
# $Revision: 1.
7
$
# $Revision: 1.
8
$
__version__
=
'0.1'
__version__
=
'0.1'
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
# This uses the Dunn/Kuchling PyBSDDB v3 extension module available from
...
@@ -52,11 +52,6 @@ class Minimal(BerkeleyBase):
...
@@ -52,11 +52,6 @@ class Minimal(BerkeleyBase):
self
.
_commitlog
=
PacklessLog
(
dir
=
self
.
_env
.
db_home
)
self
.
_commitlog
=
PacklessLog
(
dir
=
self
.
_env
.
db_home
)
self
.
_commitlog
.
start
()
self
.
_commitlog
.
start
()
def
_vote
(
self
,
transaction
):
# From here on out, we promise to commit all the registered changes,
# so rewind and put our commit log in the PROMISED state.
self
.
_commitlog
.
promise
()
def
_finish
(
self
,
tid
,
u
,
d
,
e
):
def
_finish
(
self
,
tid
,
u
,
d
,
e
):
# This is called from the storage interface's tpc_finish() method.
# This is called from the storage interface's tpc_finish() method.
# Its responsibilities are to finish the transaction with the
# Its responsibilities are to finish the transaction with the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment