mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-03-15 06:20:50 +00:00
A minor adjustment
This commit is contained in:
parent
7441967fbc
commit
cf80303a1d
@ -104,8 +104,7 @@ impl<'l> Parameter for &'l str {
|
||||
debug_assert!(i > 0, "the indexing starts from 1");
|
||||
unsafe {
|
||||
success!(statement.raw.1, ffi::sqlite3_bind_text(statement.raw.0, i as c_int,
|
||||
str_to_c_str!(self.as_bytes()),
|
||||
-1, None));
|
||||
str_to_c_str!(*self), -1, None));
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user