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
df76cb79
Commit
df76cb79
authored
Oct 10, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in range queries.
parent
2a1b35cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/ZODB/BTree.c
src/ZODB/BTree.c
+6
-2
No files found.
src/ZODB/BTree.c
View file @
df76cb79
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
static
char
BTree_module_documentation
[]
=
static
char
BTree_module_documentation
[]
=
""
""
"
\n
$Id: BTree.c,v 1.
5 1997/10/01 02:47:06
jim Exp $"
"
\n
$Id: BTree.c,v 1.
6 1997/10/10 18:21:45
jim Exp $"
;
;
#define PERSISTENT
#define PERSISTENT
...
@@ -394,6 +394,7 @@ bucket_index(Bucket *self, PyObject *key, int less)
...
@@ -394,6 +394,7 @@ bucket_index(Bucket *self, PyObject *key, int less)
PER_ALLOW_DEACTIVATION
(
self
);
PER_ALLOW_DEACTIVATION
(
self
);
if
(
less
)
return
max
-
1
;
if
(
less
)
return
max
-
1
;
if
(
max
==
min
)
return
min
;
return
min
+
1
;
return
min
+
1
;
}
}
...
@@ -1713,7 +1714,7 @@ initBTree()
...
@@ -1713,7 +1714,7 @@ initBTree()
#endif
#endif
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
5
$"
;
char
*
rev
=
"$Revision: 1.
6
$"
;
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
return
;
return
;
...
@@ -1773,6 +1774,9 @@ initBTree()
...
@@ -1773,6 +1774,9 @@ initBTree()
Revision Log:
Revision Log:
$Log: BTree.c,v $
$Log: BTree.c,v $
Revision 1.6 1997/10/10 18:21:45 jim
Fixed bug in range queries.
Revision 1.5 1997/10/01 02:47:06 jim
Revision 1.5 1997/10/01 02:47:06 jim
Fixed bug in setstate that allocates too much memory.
Fixed bug in setstate that allocates too much memory.
...
...
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