Function init_env

Source
pub async fn init_env(need_journal: bool) -> Result<(DBEnv, bool)>
Expand description

即使 need_journal=false 也可能使用 journal,具體條件同 crate::db::get_pool