From 355f1aac7bb2ba49088f64159222796ac2be95b7 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 29 Apr 2022 21:43:44 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20override=20context=20unnecessar?= =?UTF-8?q?ily?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/src/dbs/executor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/dbs/executor.rs b/lib/src/dbs/executor.rs index 4c35b372..1bbbdde1 100644 --- a/lib/src/dbs/executor.rs +++ b/lib/src/dbs/executor.rs @@ -237,8 +237,6 @@ impl Executor { None => { // Create a transaction let loc = self.begin().await; - // Enable context override - let mut ctx = Context::new(&ctx).freeze(); // Specify statement timeout if let Some(timeout) = stm.timeout() { let mut new = Context::new(&ctx);