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
This commit is contained in:
Bradley C. Kuszmaul 2008-03-22 00:08:15 +00:00
parent e509ed0891
commit efa4dfb879

View file

@ -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);
CKERR(r);
}
else CKERR2(r, TOKUDB_OUT_OF_LOCKS);
else CKERR2(r, ENOMEM);
#endif
}
}