mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Modified test-weakxaction.c to work with tokudb.
Test does not yet pass due to locking not fully implemented. git-svn-id: file:///svn/tokudb@2171 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
09a3da9a49
commit
113b1e094e
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ int main (int argc, char *argv[]) {
|
|||
system("rm -rf " DIR);
|
||||
mkdir(DIR, 0777);
|
||||
r = db_env_create (&env, 0); assert(r==0);
|
||||
r = env->open(env, DIR, DB_CREATE | DB_INIT_MPOOL | DB_INIT_LOG | DB_INIT_TXN | DB_INIT_LOCK, 0777); assert(r==0);
|
||||
r = env->open(env, DIR, DB_CREATE | DB_PRIVATE | DB_INIT_MPOOL | DB_INIT_LOG | DB_INIT_TXN | DB_INIT_LOCK, 0777); CKERR(r);
|
||||
r = db_create(&db, env, 0);
|
||||
assert(r==0);
|
||||
CKERR(r);
|
||||
db->set_errfile(db, stderr);
|
||||
{
|
||||
DB_TXN *x;
|
||||
|
|
Loading…
Add table
Reference in a new issue