mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
close[t:4559] Remove set but unused variable {{{tree_height}}}. Fixes #4559.
git-svn-id: file:///svn/toku/tokudb@40152 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
8b227e5f27
commit
85ae22f71b
1 changed files with 2 additions and 2 deletions
|
@ -5403,7 +5403,6 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf,
|
|||
int r;
|
||||
uint trycount = 0; // How many tries did it take to get the result?
|
||||
//uint root_tries = 0; // How many times did we fetch the root node from disk?
|
||||
uint tree_height; // How high is the tree? This is the height of the root node plus one (leaf is at height 0).
|
||||
|
||||
try_again:
|
||||
|
||||
|
@ -5466,7 +5465,8 @@ try_again:
|
|||
toku_brtheader_release_treelock(brt->h);
|
||||
}
|
||||
|
||||
tree_height = node->height + 1; // height of tree (leaf is at height 0)
|
||||
//uint tree_height = node->height + 1; // How high is the tree? This is the height of the root node plus one (leaf is at height 0).
|
||||
|
||||
|
||||
struct unlock_brtnode_extra unlock_extra = {brt,node};
|
||||
struct unlockers unlockers = {TRUE, unlock_brtnode_fun, (void*)&unlock_extra, (UNLOCKERS)NULL};
|
||||
|
|
Loading…
Add table
Reference in a new issue