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
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
Kirill Smelkov
mariadb
Commits
e1a5b937
Commit
e1a5b937
authored
Apr 17, 2013
by
John Esmet
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #5490 dead code
git-svn-id:
file:///svn/toku/tokudb@48244
c7de825b-a66e-492c-adef-691d508d4ae1
parent
18f383a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
src/ydb_cursor.cc
src/ydb_cursor.cc
+0
-16
No files found.
src/ydb_cursor.cc
View file @
e1a5b937
...
...
@@ -203,8 +203,6 @@ toku_c_getf_first(DBC *c, uint32_t flag, YDB_CALLBACK_FUNCTION f, void *extra) {
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
@@ -255,8 +253,6 @@ toku_c_getf_last(DBC *c, uint32_t flag, YDB_CALLBACK_FUNCTION f, void *extra) {
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
@@ -311,8 +307,6 @@ toku_c_getf_next(DBC *c, uint32_t flag, YDB_CALLBACK_FUNCTION f, void *extra) {
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
@@ -371,8 +365,6 @@ toku_c_getf_prev(DBC *c, uint32_t flag, YDB_CALLBACK_FUNCTION f, void *extra) {
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
@@ -422,7 +414,6 @@ toku_c_getf_current(DBC *c, uint32_t flag, YDB_CALLBACK_FUNCTION f, void *extra)
c_query_context_init
(
&
context
,
c
,
flag
,
f
,
extra
);
//toku_ft_cursor_current will call c_getf_current_callback(..., context) (if query is successful)
int
r
=
toku_ft_cursor_current
(
dbc_struct_i
(
c
)
->
c
,
DB_CURRENT
,
c_getf_current_callback
,
&
context
);
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
c_query_context_destroy
(
&
context
);
return
r
;
}
...
...
@@ -457,7 +448,6 @@ toku_c_getf_current_binding(DBC *c, uint32_t flag, YDB_CALLBACK_FUNCTION f, void
c_query_context_init
(
&
context
,
c
,
flag
,
f
,
extra
);
//toku_ft_cursor_current will call c_getf_current_callback(..., context) (if query is successful)
int
r
=
toku_ft_cursor_current
(
dbc_struct_i
(
c
)
->
c
,
DB_CURRENT_BINDING
,
c_getf_current_callback
,
&
context
);
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
c_query_context_destroy
(
&
context
);
return
r
;
}
...
...
@@ -478,8 +468,6 @@ toku_c_getf_set(DBC *c, uint32_t flag, DBT *key, YDB_CALLBACK_FUNCTION f, void *
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
@@ -532,8 +520,6 @@ toku_c_getf_set_range(DBC *c, uint32_t flag, DBT *key, YDB_CALLBACK_FUNCTION f,
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
@@ -589,8 +575,6 @@ toku_c_getf_set_range_reverse(DBC *c, uint32_t flag, DBT *key, YDB_CALLBACK_FUNC
if
(
r
==
DB_LOCK_NOTGRANTED
)
r
=
toku_lock_request_wait_with_default_timeout
(
&
context
.
base
.
lock_request
,
c
->
dbp
->
i
->
lt
);
else
{
if
(
r
==
TOKUDB_USER_CALLBACK_ERROR
)
r
=
context
.
base
.
r_user_callback
;
break
;
}
}
...
...
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