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

assert test for brt-test crash

git-svn-id: file:///svn/tokudb@1985 c7de825b-a66e-492c-adef-691d508d4ae1
parent 38376b57
......@@ -372,7 +372,7 @@ static int brt_nonleaf_split (BRT t, BRTNODE node, BRTNODE *nodea, BRTNODE *node
int i;
for (i=0; i<old_n_children; i++) {
int targchild = i-n_children_in_a;
int targchild = i-n_children_in_a; assert(targchild >= 0);
int r = toku_fifo_create(&B->u.n.buffers[targchild]);
if (r!=0) return r;
}
......
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