add missed method in the core

This commit is contained in:
Nikita Sivukhin
2025-10-02 16:19:52 +04:00
parent 863e3fe94e
commit c0b6210756

View File

@@ -2264,6 +2264,12 @@ impl Connection {
self.set_encryption_context()
}
pub fn set_reserved_bytes(&self, reserved_bytes: u8) -> Result<()> {
let pager = self.pager.read();
pager.set_reserved_space_bytes(reserved_bytes);
Ok(())
}
pub fn get_encryption_cipher_mode(&self) -> Option<CipherMode> {
*self.encryption_cipher_mode.read()
}