mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-07 20:12:23 +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