make multi-thread query work

This commit is contained in:
Hongze Cheng 2022-01-05 02:12:50 +00:00
parent 4395e97593
commit 75077c4ae9
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ static int metaOpenBDBEnv(DB_ENV **ppEnv, const char *path) {
return -1;
}
ret = pEnv->open(pEnv, path, DB_CREATE | DB_INIT_MPOOL, 0);
ret = pEnv->open(pEnv, path, DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL, 0);
if (ret != 0) {
BDB_PERR("Failed to open META env", ret);
return -1;