core/vdbe: Fix AutoCommit instruction to halt the VM

Pointed out by Jussi
This commit is contained in:
Pekka Enberg
2025-02-14 11:43:16 +02:00
parent 948585bb42
commit ae3c6b7ec5

View File

@@ -1190,7 +1190,7 @@ impl Program {
));
}
}
state.pc += 1;
return self.halt(pager);
}
Insn::Goto { target_pc } => {
assert!(target_pc.is_offset());