Replace execute_batch usages by execute

Because execute_batch does not support unlock_notify
This commit is contained in:
gwenn
2020-06-24 19:33:34 +02:00
committed by Thom Chiovoloni
parent a9b700c841
commit f37519ad51
3 changed files with 11 additions and 9 deletions

View File

@@ -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.