mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 22:08:55 +08:00 
			
		
		
		
	Merge branch 'master' into gwenn-stmt-cache
This commit is contained in:
		| @@ -249,7 +249,7 @@ impl Connection { | ||||
|     /// # Failure | ||||
|     /// | ||||
|     /// Will return `Err` if the underlying SQLite call fails. | ||||
|     pub fn transaction(&self) -> Result<Transaction> { | ||||
|     pub fn transaction(&mut self) -> Result<Transaction> { | ||||
|         Transaction::new(self, TransactionBehavior::Deferred) | ||||
|     } | ||||
|  | ||||
| @@ -260,7 +260,7 @@ impl Connection { | ||||
|     /// # Failure | ||||
|     /// | ||||
|     /// Will return `Err` if the underlying SQLite call fails. | ||||
|     pub fn transaction_with_behavior(&self, behavior: TransactionBehavior) -> Result<Transaction> { | ||||
|     pub fn transaction_with_behavior(&mut self, behavior: TransactionBehavior) -> Result<Transaction> { | ||||
|         Transaction::new(self, behavior) | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user