Commit 2aab1f66 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Fix indentation

git-svn-id: file:///svn/tokudb@784 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9565b06b
...@@ -1587,10 +1587,10 @@ int brt_open(BRT t, const char *fname, const char *fname_in_env, const char *dbn ...@@ -1587,10 +1587,10 @@ int brt_open(BRT t, const char *fname, const char *fname_in_env, const char *dbn
for (i=0; i<t->h->n_named_roots; i++) { for (i=0; i<t->h->n_named_roots; i++) {
if (strcmp(t->h->names[i], dbname)==0) { if (strcmp(t->h->names[i], dbname)==0) {
if (only_create) { if (only_create) {
r = EEXIST; r = EEXIST;
goto died1; /* deallocate everything. */ goto died1; /* deallocate everything. */
} }
else goto found_it; else goto found_it;
} }
} }
if ((t->h->names = toku_realloc(t->h->names, (1+t->h->n_named_roots)*sizeof(*t->h->names))) == 0) { assert(errno==ENOMEM); r=ENOMEM; goto died1; } if ((t->h->names = toku_realloc(t->h->names, (1+t->h->n_named_roots)*sizeof(*t->h->names))) == 0) { assert(errno==ENOMEM); r=ENOMEM; goto died1; }
......
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