tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

Add call to statement reset to libsql_reset_stmt C binding #1713

Closed tvandinther closed 1 week ago

tvandinther commented 4 weeks ago

Without this call to stmt.reset(), the prepared statement is not correctly reset and the same values are read back despite having new bindings.

Fixes #1481