Skip to content

Commit

Permalink
Fix simplified open options
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Aug 20, 2024
1 parent a239a4b commit 88cf060
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions heed/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ mod txn;
use std::ffi::CStr;
use std::{error, fmt, io, mem, result};

use env::SimplifiedOpenOptions;
use heed_traits as traits;
pub use {byteorder, heed_types as types};

Expand Down Expand Up @@ -154,6 +155,10 @@ pub enum Error {
/// Attempt to open [`Env`] with different options.
BadOpenOptions {
/// The options that were used to originally open this env.
#[cfg(master3)]
original_options: SimplifiedOpenOptions,
/// The options that were used to originally open this env.
#[cfg(not(master3))]
options: EnvOpenOptions,
/// The env opened with the original options.
env: Env,
Expand Down

0 comments on commit 88cf060

Please sign in to comment.