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
ef195b7b
Commit
ef195b7b
authored
Mar 18, 2008
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rolled back some debugging code.
git-svn-id:
file:///svn/tokudb@2929
c7de825b-a66e-492c-adef-691d508d4ae1
parent
593867fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
src/lock_tree/locktree.c
src/lock_tree/locktree.c
+0
-14
No files found.
src/lock_tree/locktree.c
View file @
ef195b7b
...
@@ -36,11 +36,6 @@ static inline int toku__lt_callback(toku_lock_tree *tree, DB_TXN* txn) {
...
@@ -36,11 +36,6 @@ static inline int toku__lt_callback(toku_lock_tree *tree, DB_TXN* txn) {
return
tree
->
lock_callback
?
tree
->
lock_callback
(
txn
,
tree
)
:
0
;
return
tree
->
lock_callback
?
tree
->
lock_callback
(
txn
,
tree
)
:
0
;
}
}
static
void
toku_breakpoint
(
toku_lock_tree
*
tree
)
{
assert
(
tree
!=
NULL
);
}
const
u_int32_t
__toku_default_buflen
=
2
;
const
u_int32_t
__toku_default_buflen
=
2
;
static
const
DBT
__toku_lt_infinity
;
static
const
DBT
__toku_lt_infinity
;
...
@@ -1286,9 +1281,6 @@ int toku_lt_acquire_range_read_lock(toku_lock_tree* tree, DB_TXN* txn,
...
@@ -1286,9 +1281,6 @@ int toku_lt_acquire_range_read_lock(toku_lock_tree* tree, DB_TXN* txn,
r
=
0
;
r
=
0
;
cleanup:
cleanup:
if
(
r
==
ENOMEM
)
{
toku_breakpoint
(
tree
);
}
return
r
;
return
r
;
}
}
...
@@ -1404,9 +1396,6 @@ int toku_lt_acquire_write_lock(toku_lock_tree* tree, DB_TXN* txn,
...
@@ -1404,9 +1396,6 @@ int toku_lt_acquire_write_lock(toku_lock_tree* tree, DB_TXN* txn,
r
=
0
;
r
=
0
;
cleanup:
cleanup:
if
(
r
==
ENOMEM
)
{
toku_breakpoint
(
tree
);
}
return
r
;
return
r
;
}
}
...
@@ -1474,9 +1463,6 @@ int toku_lt_acquire_range_write_lock(toku_lock_tree* tree, DB_TXN* txn,
...
@@ -1474,9 +1463,6 @@ int toku_lt_acquire_range_write_lock(toku_lock_tree* tree, DB_TXN* txn,
r
=
0
;
r
=
0
;
cleanup:
cleanup:
if
(
r
==
ENOMEM
)
{
toku_breakpoint
(
tree
);
}
return
r
;
return
r
;
}
}
...
...
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