fix: Remove ability to set rocksdb as read only

This commit is contained in:
Terry
2026-02-18 22:39:02 +00:00
committed by Ellis Git
parent e01aa44b16
commit 23d77b614f
5 changed files with 3 additions and 22 deletions
+1 -2
View File
@@ -33,7 +33,6 @@ pub struct Engine {
pub(crate) db: Db,
pub(crate) pool: Arc<Pool>,
pub(crate) ctx: Arc<Context>,
pub(super) read_only: bool,
pub(super) secondary: bool,
pub(crate) checksums: bool,
corks: AtomicU32,
@@ -132,7 +131,7 @@ impl Engine {
#[inline]
#[must_use]
pub fn is_read_only(&self) -> bool { self.secondary || self.read_only }
pub fn is_read_only(&self) -> bool { self.secondary }
#[inline]
#[must_use]