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
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
Nicolas Wavrant
ZODB
Commits
9fc60bc3
Commit
9fc60bc3
authored
Jun 22, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BTreeItems_item(): wasn't updating bucket access time.
nextBTreeItems() and nextTreeSetItems(): ditto.
parent
529571b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/BTrees/BTreeItemsTemplate.c
src/BTrees/BTreeItemsTemplate.c
+5
-5
No files found.
src/BTrees/BTreeItemsTemplate.c
View file @
9fc60bc3
...
...
@@ -12,7 +12,7 @@
****************************************************************************/
#define BTREEITEMSTEMPLATE_C "$Id: BTreeItemsTemplate.c,v 1.1
6 2002/06/18 02:41:26
tim_one Exp $\n"
#define BTREEITEMSTEMPLATE_C "$Id: BTreeItemsTemplate.c,v 1.1
7 2002/06/22 17:22:54
tim_one Exp $\n"
/* A BTreeItems struct is returned from calling .items(), .keys() or
* .values() on a BTree-based data structure, and is also the result of
...
...
@@ -264,13 +264,13 @@ BTreeItems_item(BTreeItems *self, int i)
break
;
}
PER_
ALLOW_DEACTIVATION
(
self
->
currentbucket
);
PER_
UNUSE
(
self
->
currentbucket
);
return
r
;
err:
Py_DECREF
(
k
);
Py_XDECREF
(
v
);
PER_
ALLOW_DEACTIVATION
(
self
->
currentbucket
);
PER_
UNUSE
(
self
->
currentbucket
);
return
NULL
;
}
...
...
@@ -487,7 +487,7 @@ nextBTreeItems(SetIteration *i)
i
->
position
++
;
PER_
ALLOW_DEACTIVATION
(
currentbucket
);
PER_
UNUSE
(
currentbucket
);
}
else
{
...
...
@@ -527,7 +527,7 @@ nextTreeSetItems(SetIteration *i)
i
->
position
++
;
PER_
ALLOW_DEACTIVATION
(
currentbucket
);
PER_
UNUSE
(
currentbucket
);
}
else
{
...
...
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