当我尝试使用此C ++代码在Berkeley DB环境中进行恢复时:
auto envFlags = DB_CREATE |
DB_INIT_LOCK |
DB_INIT_LOG |
DB_INIT_MPOOL |
DB_INIT_TXN |
DB_THREAD |
DB_RECOVER;
dbEnv.open(dbHomePath.c_str(), envFlags, 0);
我收到以下错误:
BDB1579 Database handles still open at environment close
这可能是什么?