This commit is contained in:
gwenn 2022-01-05 20:12:52 +01:00
parent 43591154b2
commit 6f8e509763

View File

@ -476,7 +476,7 @@ impl InnerConnection {
drop(catch_unwind(|| { drop(catch_unwind(|| {
let boxed_hook: *mut F = p_arg.cast::<F>(); let boxed_hook: *mut F = p_arg.cast::<F>();
(*boxed_hook)(); (*boxed_hook)();
}); }));
} }
let free_rollback_hook = if hook.is_some() { let free_rollback_hook = if hook.is_some() {
@ -528,7 +528,7 @@ impl InnerConnection {
expect_utf8(p_table_name, "table name"), expect_utf8(p_table_name, "table name"),
row_id, row_id,
); );
}); }));
} }
let free_update_hook = if hook.is_some() { let free_update_hook = if hook.is_some() {