Home
last modified time | relevance | path

Searched refs:TransactionBehavior (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/rusqlite/src/
Dtransaction.rs8 pub enum TransactionBehavior { enum
105 pub fn new(conn: &mut Connection, behavior: TransactionBehavior) -> Result<Transaction<'_>> { in new()
116 behavior: TransactionBehavior, in new_unchecked() argument
119 TransactionBehavior::Deferred => "BEGIN DEFERRED", in new_unchecked()
120 TransactionBehavior::Immediate => "BEGIN IMMEDIATE", in new_unchecked()
121 TransactionBehavior::Exclusive => "BEGIN EXCLUSIVE", in new_unchecked()
374 Transaction::new(self, TransactionBehavior::Deferred) in transaction()
386 behavior: TransactionBehavior, in transaction_with_behavior() argument
423 Transaction::new_unchecked(self, TransactionBehavior::Deferred) in unchecked_transaction()
Dbusy.rs85 use crate::{Connection, Error, ErrorCode, Result, TransactionBehavior, NO_PARAMS};
94 .transaction_with_behavior(TransactionBehavior::Exclusive) in test_default_busy()
120 .transaction_with_behavior(TransactionBehavior::Exclusive) in test_busy_timeout()
159 .transaction_with_behavior(TransactionBehavior::Exclusive) in test_busy_handler()
Dunlock_notify.rs103 use crate::{Connection, OpenFlags, Result, Transaction, TransactionBehavior, NO_PARAMS};
117 let tx2 = Transaction::new(&mut db2, TransactionBehavior::Immediate).unwrap(); in test_unlock_notify()
Dlib.rs82 pub use crate::transaction::{DropBehavior, Savepoint, Transaction, TransactionBehavior};
/external/rust/crates/rusqlite/
DChangelog.md187 `TransactionBehavior::Deferred`, `TransactionBehavior::Immediate`, and
188 `TransactionBehavior::Exclusive`.
198 * `SqliteTransactionBehavior` is now `TransactionBehavior`.