mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-17 20:49:29 +00:00
sqlite_store: Mark write transactions with BEGIN IMMEDIATE
Hopefully addresses SQLITE_BUSY error, see #131
This commit is contained in:
@@ -10,6 +10,9 @@ pub mod error;
|
||||
pub mod principal_store;
|
||||
pub mod subscription_store;
|
||||
|
||||
// Begin statement for write transactions
|
||||
pub const BEGIN_IMMEDIATE: &str = "BEGIN IMMEDIATE";
|
||||
|
||||
#[cfg(any(test, feature = "test"))]
|
||||
pub mod tests;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user