mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
[t:3698], make similar fix for keyrange-unflat in src/tests
git-svn-id: file:///svn/toku/tokudb@32894 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
1e928e3604
commit
a13dc50995
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ static void test (void) {
|
|||
CKERR(r);
|
||||
r=toku_os_mkdir(ENVDIR, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
|
||||
r=db_env_create(&env, 0); CKERR(r);
|
||||
// set the cachetable to size 1 so that things won't fit.
|
||||
r=env->set_cachesize(env, 0, 1, 1);
|
||||
// set the cachetable to size 0 so that things fit.
|
||||
r=env->set_cachesize(env, 0, 0, 1);
|
||||
env->set_errfile(env, stderr);
|
||||
r=env->open(env, ENVDIR, DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_CREATE|DB_PRIVATE, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
|
||||
r=db_create(&db, env, 0); CKERR(r);
|
||||
|
|
Loading…
Add table
Reference in a new issue