mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 04:24:21 +01:00
Update bind_at api to check for recalculated parameter offset
This commit is contained in:
@@ -636,7 +636,8 @@ impl Statement {
|
||||
}
|
||||
|
||||
pub fn bind_at(&mut self, index: NonZero<usize>, value: OwnedValue) {
|
||||
self.state.bind_at(index, value);
|
||||
let internal = self.program.parameters.get_remap(index);
|
||||
self.state.bind_at(internal, value);
|
||||
}
|
||||
|
||||
pub fn reset(&mut self) {
|
||||
|
||||
Reference in New Issue
Block a user