Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
d6937996
Commit
d6937996
authored
Jun 17, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BTree_maxminKey(): I was too aggressive in pruning persistence hair.
parent
49592586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/BTrees/BTreeTemplate.c
src/BTrees/BTreeTemplate.c
+5
-2
No files found.
src/BTrees/BTreeTemplate.c
View file @
d6937996
...
...
@@ -12,7 +12,7 @@
****************************************************************************/
#define BTREETEMPLATE_C "$Id: BTreeTemplate.c,v 1.6
0 2002/06/17 23:39:56
tim_one Exp $\n"
#define BTREETEMPLATE_C "$Id: BTreeTemplate.c,v 1.6
1 2002/06/17 23:55:48
tim_one Exp $\n"
/*
** _BTree_get
...
...
@@ -1070,7 +1070,7 @@ Done:
static
PyObject
*
BTree_maxminKey
(
BTree
*
self
,
PyObject
*
args
,
int
min
)
{
PyObject
*
key
=
0
;
PyObject
*
key
=
0
;
Bucket
*
bucket
=
NULL
;
int
offset
,
rc
;
...
...
@@ -1100,6 +1100,9 @@ BTree_maxminKey(BTree *self, PyObject *args, int min)
else
if
(
min
)
{
bucket
=
self
->
firstbucket
;
PER_ALLOW_DEACTIVATION
(
self
);
PER_ACCESSED
(
self
);
PER_USE_OR_RETURN
(
bucket
,
NULL
);
Py_INCREF
(
bucket
);
offset
=
0
;
}
...
...
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