Commit 9fb4cfb2 authored by Rich Prohaska's avatar Rich Prohaska

name change

git-svn-id: file:///svn/tokudb@281 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8b4d6cca
...@@ -822,7 +822,7 @@ static int brtnode_maybe_push_down(BRT t, BRTNODE node, int *did_split, BRTNODE ...@@ -822,7 +822,7 @@ static int brtnode_maybe_push_down(BRT t, BRTNODE node, int *did_split, BRTNODE
#define INSERT_ALL_AT_ONCE #define INSERT_ALL_AT_ONCE
static int brt_leaf_insertm (BRT t, BRTNODE node, BRT_CMD *cmd, static int brt_leaf_put_cmd (BRT t, BRTNODE node, BRT_CMD *cmd,
int *did_split, BRTNODE *nodea, BRTNODE *nodeb, DBT *splitk, int *did_split, BRTNODE *nodea, BRTNODE *nodeb, DBT *splitk,
int debug) { int debug) {
if (cmd->type == BRT_INSERT) { if (cmd->type == BRT_INSERT) {
...@@ -901,7 +901,7 @@ static unsigned int brtnode_which_child (BRTNODE node , DBT *k, BRT t, DB *db) { ...@@ -901,7 +901,7 @@ static unsigned int brtnode_which_child (BRTNODE node , DBT *k, BRT t, DB *db) {
} }
static int brt_nonleaf_insertm (BRT t, BRTNODE node, BRT_CMD *cmd, static int brt_nonleaf_put_cmd (BRT t, BRTNODE node, BRT_CMD *cmd,
int *did_split, BRTNODE *nodea, BRTNODE *nodeb, int *did_split, BRTNODE *nodea, BRTNODE *nodeb,
DBT *splitk, DBT *splitk,
int debug) { int debug) {
...@@ -1032,11 +1032,11 @@ static int brtnode_put_cmd (BRT t, BRTNODE node, BRT_CMD *cmd, ...@@ -1032,11 +1032,11 @@ static int brtnode_put_cmd (BRT t, BRTNODE node, BRT_CMD *cmd,
int *did_split, BRTNODE *nodea, BRTNODE *nodeb, DBT *splitk, int *did_split, BRTNODE *nodea, BRTNODE *nodeb, DBT *splitk,
int debug) { int debug) {
if (node->height==0) { if (node->height==0) {
return brt_leaf_insertm(t, node, cmd, return brt_leaf_put_cmd(t, node, cmd,
did_split, nodea, nodeb, splitk, did_split, nodea, nodeb, splitk,
debug); debug);
} else { } else {
return brt_nonleaf_insertm(t, node, cmd, return brt_nonleaf_put_cmd(t, node, cmd,
did_split, nodea, nodeb, splitk, did_split, nodea, nodeb, splitk,
debug); debug);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment