mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-05 01:04:22 +01:00
Add Database::indexes_enabled()
This commit is contained in:
@@ -854,6 +854,10 @@ impl Database {
|
||||
self.opts.enable_mvcc
|
||||
}
|
||||
|
||||
pub fn indexes_enabled(&self) -> bool {
|
||||
self.opts.enable_indexes
|
||||
}
|
||||
|
||||
#[cfg(feature = "test_helper")]
|
||||
pub fn set_pending_byte(val: u32) {
|
||||
Pager::set_pending_byte(val);
|
||||
|
||||
Reference in New Issue
Block a user