Skip to content

Commit 46de2bb

Browse files
wip
1 parent 53f6e03 commit 46de2bb

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/modules/db/sqlx/mod.rs

-16
Original file line numberDiff line numberDiff line change
@@ -1675,22 +1675,6 @@ unsafe extern "C" fn fn_transaction_commit(
16751675

16761676
let transaction = with_transaction(proxy_instance_id, |tx| tx.clone());
16771677

1678-
let before_commit_res = q_ctx.dispatch_proxy_event(
1679-
&["greco", "db", "sqlx"],
1680-
"Transaction",
1681-
&proxy_instance_id,
1682-
"before_commit",
1683-
&q_ctx.create_null().unwrap(),
1684-
);
1685-
match before_commit_res {
1686-
Ok(_) => {}
1687-
Err(e) => {
1688-
log::error!("dispatch_before_commit failed due to {e}");
1689-
return q_ctx
1690-
.report_ex(format!("dispatch_before_commit failed due to {e}").as_str());
1691-
}
1692-
}
1693-
16941678
let promise = q_ctx.create_resolving_promise_async(
16951679
async move {
16961680
// produce

0 commit comments

Comments
 (0)