Skip to content

Commit

Permalink
remove unnecessary closing of transaction in begin method
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianBuzzo committed Sep 30, 2024
1 parent b877e71 commit f75653f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion query-engine/driver-adapters/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ impl TransactionProxy {
}

pub fn begin(&self) -> UnsafeFuture<impl Future<Output = quaint::Result<()>> + '_> {
self.closed.store(true, Ordering::Relaxed);
UnsafeFuture(self.begin.call_as_async(()))
}

Expand Down

0 comments on commit f75653f

Please sign in to comment.