Skip to content

Commit 18a38be

Browse files
committed
oops
1 parent 823015e commit 18a38be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core/src/crud_vtab.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ extern "C" fn commit(vtab: *mut sqlite::vtab) -> c_int {
340340

341341
extern "C" fn rollback(vtab: *mut sqlite::vtab) -> c_int {
342342
let tab = unsafe { &mut *(vtab.cast::<VirtualTable>()) };
343-
tab.state.track_rollback();
343+
tab.end_transaction();
344344
// ps_tx will be rolled back automatically
345345
ResultCode::OK as c_int
346346
}

0 commit comments

Comments
 (0)