mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-08 20:42:19 +08:00
Introduce SqlFnArg
This commit is contained in:
@@ -704,7 +704,7 @@ impl Context {
|
||||
#[inline]
|
||||
pub fn set_result<T: ToSql>(&mut self, value: &T) -> Result<()> {
|
||||
let t = value.to_sql()?;
|
||||
unsafe { set_result(self.0, &t) };
|
||||
unsafe { set_result(self.0, &[], &t) };
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user