Commit 8903fdc7 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Don't use {{{TOKUDB_OUT_OF_LOCKS}}} outside of the {{{#ifdef TOKUDB}}}. Fixes #573.

git-svn-id: file:///svn/tokudb@3010 c7de825b-a66e-492c-adef-691d508d4ae1
parent 62fa2b94
...@@ -105,7 +105,7 @@ static void make_db (int n_locks) { ...@@ -105,7 +105,7 @@ static void make_db (int n_locks) {
if (r!=0) printf("r=%d on i=%d j=%d eff=%d\n", r, i, j, effective_n_locks); if (r!=0) printf("r=%d on i=%d j=%d eff=%d\n", r, i, j, effective_n_locks);
CKERR(r); CKERR(r);
} }
else CKERR2(r, TOKUDB_OUT_OF_LOCKS); else CKERR2(r, ENOMEM);
#endif #endif
} }
} }
......
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