Commit d3b889e2 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4741] remove tabs, fix a little indentation

git-svn-id: file:///svn/toku/tokudb@43547 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2888f3a7
......@@ -2088,8 +2088,8 @@ brt_handle_maybe_reactive_root (struct brt_header *h, CACHEKEY *rootp, BRTNODE *
case RE_STABLE:
return FALSE;
case RE_FISSIBLE:
// The root node should split, so make a new root.
{
// The root node should split, so make a new root.
BRTNODE nodea,nodeb;
DBT splitk;
assert(h->nodesize>=node->nodesize); /* otherwise we might be in trouble because the nodesize shrank. */
......@@ -2182,7 +2182,7 @@ brt_basement_node_gc_once(BASEMENTNODE bn,
delta->numrows += numrows_delta;
delta->numbytes += numbytes_delta;
exit:
exit:
return;
}
......@@ -4232,7 +4232,7 @@ brt_search_basement_node(
case BRT_SEARCH_RIGHT: direction = -1; goto ok;
}
return EINVAL; // This return and the goto are a hack to get both compile-time and run-time checking on enum
ok: ;
ok: ;
OMTVALUE datav;
u_int32_t idx = 0;
int r = toku_omt_find(bn->buffer,
......@@ -5312,7 +5312,7 @@ toku_brt_keyrange (BRT brt, DBT *key, u_int64_t *less_p, u_int64_t *equal_p, u_i
assert(brt->h);
struct brtnode_fetch_extra bfe;
fill_bfe_for_min_read(&bfe, brt->h); // read pivot keys but not message buffers
try_again:
try_again:
{
u_int64_t less = 0, equal = 0, greater = 0;
BRTNODE node = NULL;
......@@ -5538,8 +5538,8 @@ int toku_brt_remove_on_commit(TOKUTXN txn, DBT* iname_in_env_dbt_p) {
assert(r==ENOENT);
}
toku_txn_force_fsync_on_commit(txn); //If the txn commits, the commit MUST be in the log
//before the file is actually unlinked
toku_txn_force_fsync_on_commit(txn); // If the txn commits, the commit MUST be in the log
// before the file is actually unlinked
{
BYTESTRING iname_in_env_bs = { .len=strlen(iname_in_env), .data = (char*)iname_in_env };
// make entry in rollback log
......
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