core/vdbe: Don't clear parameters in Statement::reset()

As per SQLite API, sqlite3_reset() does *not* clear bind parameters.
Instead they're persistent across statement reset and only cleared with
sqlite3_clear_bindings().
This commit is contained in:
Pekka Enberg
2025-09-30 20:17:34 +03:00
parent 9788f6d005
commit 25ffd4f01e

View File

@@ -404,7 +404,6 @@ impl ProgramState {
self.ended_coroutine.0 = [0; 4];
self.regex_cache.like.clear();
self.interrupted = false;
self.parameters.clear();
self.current_collation = None;
#[cfg(feature = "json")]
self.json_cache.clear();