fix: Remove ability to set rocksdb as read only

This commit is contained in:
Terry authored and Ellis Git committed 2026-02-18 23:11:53 +00:00
1 parent e01aa44b16
commit 23d77b614f
5 files changed
+3 -22

No files matched your search

+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]