Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nicolas Wavrant
ZODB
Commits
9fc60bc3
Commit
9fc60bc3
authored
22 years ago
by
Tim Peters
Browse files
Options
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
{
...
...
This diff is collapsed.
Click to expand it.
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