30
30
if ((btree = tcbdbnew()) == NULL)
33
33
if (!tcbdbsetmutex(btree)) {
38
38
if (blitz_estimated_rows != 0) {
39
39
uint64_t tree_buckets = blitz_estimated_rows / 10;
40
40
if (!tcbdbtune(btree, 0, 0, tree_buckets, -1, -1, 0)) {
46
46
if (!tcbdbsetcmpfunc(btree, blitz_keycmp_cb, this)) {
51
51
snprintf(buf, FN_REFLEN, "%s_%02d%s", path, key_num, BLITZ_INDEX_EXT);
53
53
if (!tcbdbopen(btree, buf, mode)) {