vdbe: fix compilation

This commit is contained in:
Pere Diaz Bou
2025-07-08 16:15:29 +02:00
parent ef41c19542
commit 232beddf62

View File

@@ -380,7 +380,7 @@ impl Program {
pager: Rc<Pager>,
) -> Result<StepResult> {
loop {
if *self.connection.closed.borrow() {
if self.connection.closed.get() {
// Connection is closed for whatever reason, rollback the transaction.
let state = self.connection.transaction_state.get();
if let TransactionState::Write { schema_did_change } = state {