Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
77551779
Commit
77551779
authored
Jan 06, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add lastTransaction() method to db.
Don't use bpthread; just use thread.
parent
68624758
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/ZODB/DB.py
src/ZODB/DB.py
+6
-3
No files found.
src/ZODB/DB.py
View file @
77551779
...
@@ -13,12 +13,12 @@
...
@@ -13,12 +13,12 @@
##############################################################################
##############################################################################
"""Database objects
"""Database objects
$Id: DB.py,v 1.5
8 2003/12/24 16:02:00
jeremy Exp $"""
$Id: DB.py,v 1.5
9 2004/01/06 21:44:25
jeremy Exp $"""
__version__
=
'$Revision: 1.5
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
9
$'
[
11
:
-
2
]
import
cPickle
,
cStringIO
,
sys
,
POSException
,
UndoLogCompatible
import
cPickle
,
cStringIO
,
sys
,
POSException
,
UndoLogCompatible
from
Connection
import
Connection
from
Connection
import
Connection
from
bp
thread
import
allocate_lock
from
thread
import
allocate_lock
from
Transaction
import
Transaction
,
get_transaction
from
Transaction
import
Transaction
,
get_transaction
from
referencesf
import
referencesf
from
referencesf
import
referencesf
from
time
import
time
,
ctime
from
time
import
time
,
ctime
...
@@ -282,6 +282,9 @@ class DB(UndoLogCompatible.UndoLogCompatible, object):
...
@@ -282,6 +282,9 @@ class DB(UndoLogCompatible.UndoLogCompatible, object):
def
getCacheSize
(
self
):
def
getCacheSize
(
self
):
return
self
.
_cache_size
return
self
.
_cache_size
def
lastTransaction
(
self
):
return
self
.
_storage
.
lastTransaction
()
def
getName
(
self
):
return
self
.
_storage
.
getName
()
def
getName
(
self
):
return
self
.
_storage
.
getName
()
def
getPoolSize
(
self
):
return
self
.
_pool_size
def
getPoolSize
(
self
):
return
self
.
_pool_size
...
...
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