Fix dumpless upgrade target version

This commit is contained in:
ManyTheFish 2025-02-12 16:23:10 +01:00
parent 1caad4c4b0
commit c55fdad2c3

View File

@ -1,7 +1,6 @@
use heed::RwTxn; use heed::RwTxn;
use super::UpgradeIndex; use super::UpgradeIndex;
use crate::constants::{VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH};
use crate::progress::Progress; use crate::progress::Progress;
use crate::{make_enum_progress, Index, Result}; use crate::{make_enum_progress, Index, Result};
@ -47,10 +46,6 @@ impl UpgradeIndex for V1_12_3_To_V1_13_0 {
} }
fn target_version(&self) -> (u32, u32, u32) { fn target_version(&self) -> (u32, u32, u32) {
( (1, 13, 0)
VERSION_MAJOR.parse().unwrap(),
VERSION_MINOR.parse().unwrap(),
VERSION_PATCH.parse().unwrap(),
)
} }
} }