Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
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
nexedi
MariaDB
Commits
ccfa1a65
Commit
ccfa1a65
authored
Dec 18, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debug code
git-svn-id:
file:///svn/tokudb@1185
c7de825b-a66e-492c-adef-691d508d4ae1
parent
58fd7e37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
newbrt/pma.c
newbrt/pma.c
+0
-4
No files found.
newbrt/pma.c
View file @
ccfa1a65
...
@@ -792,14 +792,10 @@ int toku_pma_cursor_set_both(PMA_CURSOR c, DBT *key, DBT *val) {
...
@@ -792,14 +792,10 @@ int toku_pma_cursor_set_both(PMA_CURSOR c, DBT *key, DBT *val) {
here
=
pma_left_search
(
pma
,
key
,
val
,
0
,
pma
->
N
,
&
found
);
here
=
pma_left_search
(
pma
,
key
,
val
,
0
,
pma
->
N
,
&
found
);
assert
(
here
<=
toku_pma_index_limit
(
pma
));
assert
(
here
<=
toku_pma_index_limit
(
pma
));
int
r
=
DB_NOTFOUND
;
int
r
=
DB_NOTFOUND
;
#if 1
/* skip any deleted pairs that match */
/* skip any deleted pairs that match */
while
(
found
&&
!
kv_pair_valid
(
pma
->
pairs
[
here
]))
while
(
found
&&
!
kv_pair_valid
(
pma
->
pairs
[
here
]))
here
=
pma_next_key
(
pma
,
key
,
val
,
here
+
1
,
pma
->
N
,
&
found
);
here
=
pma_next_key
(
pma
,
key
,
val
,
here
+
1
,
pma
->
N
,
&
found
);
if
(
found
)
{
if
(
found
)
{
#else
if
(
found
&&
kv_pair_valid
(
pma
->
pairs
[
here
]))
{
#endif
__pma_delete_resume
(
c
->
pma
,
c
->
position
);
__pma_delete_resume
(
c
->
pma
,
c
->
position
);
c
->
position
=
here
;
c
->
position
=
here
;
r
=
0
;
r
=
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