diff --git a/bindings/c/src/lib.rs b/bindings/c/src/lib.rs index 8e80816ff0..4c9e903cd2 100644 --- a/bindings/c/src/lib.rs +++ b/bindings/c/src/lib.rs @@ -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 }