mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 20:52:19 +08:00
Replace execute_batch usages by execute
Because execute_batch does not support unlock_notify
This commit is contained in:
@@ -256,7 +256,8 @@ impl Connection {
|
||||
// The two syntaxes yield identical results.
|
||||
sql.push_equal_sign();
|
||||
sql.push_value(pragma_value)?;
|
||||
self.execute_batch(&sql)
|
||||
self.execute(&sql, NO_PARAMS)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Set a new value to `pragma_name` and return the updated value.
|
||||
|
Reference in New Issue
Block a user