Skip to content

Commit

Permalink
Merge pull request #1713 from tvandinther/fix-c-binding-libsql_reset_…
Browse files Browse the repository at this point in the history
…stmt

Add call to statement reset to libsql_reset_stmt C binding
  • Loading branch information
LucioFranco authored Sep 19, 2024
2 parents 0bc1533 + 35e9af0 commit de45f4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/c/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ pub unsafe extern "C" fn libsql_reset_stmt(
}
let stmt = stmt.get_ref_mut();
stmt.params.clear();
stmt.stmt.reset();
0
}

Expand Down

0 comments on commit de45f4e

Please sign in to comment.