Skip to content

Commit

Permalink
fix lmdb failures
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored and badboy committed Nov 1, 2023
1 parent 23007bb commit b367f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/impl_lmdb/arch_migrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const MAGIC: [u8; 4] = [0xDE, 0xC0, 0xEF, 0xBE];
pub type MigrateResult<T> = Result<T, MigrateError>;

bitflags! {
#[derive(Default)]
#[derive(Default, PartialEq, Eq, Debug, Clone, Copy)]
struct PageFlags: u16 {
const BRANCH = 0x01;
const LEAF = 0x02;
Expand All @@ -98,7 +98,7 @@ bitflags! {
}

bitflags! {
#[derive(Default)]
#[derive(Default, PartialEq, Eq, Debug, Clone, Copy)]
struct NodeFlags: u16 {
const BIGDATA = 0x01;
const SUBDATA = 0x02;
Expand Down

0 comments on commit b367f7c

Please sign in to comment.