core/vdbe: Don't clear cursors in ProgramState::reset()

We don't need to clear the cursors explicitly because OpenRead and
OpenWrite will anyway replace them.
This commit is contained in:
Pekka Enberg
2025-10-02 14:31:24 +03:00
parent 641c3a73d0
commit 16f1c1ac8b

View File

@@ -395,7 +395,6 @@ impl ProgramState {
self.registers
.resize_with(max_resgisters, || Register::Value(Value::Null));
}
self.cursors.iter_mut().for_each(|c| *c = None);
self.registers
.iter_mut()
.for_each(|r| *r = Register::Value(Value::Null));