From 2ab27f1cd2e61a71df12ddc1725c4647992a3768 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 3 Dec 2019 11:23:48 +0000 Subject: [PATCH] Reset transaction on executor instantiation --- db/executor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/db/executor.go b/db/executor.go index 717fe23b..c0491543 100644 --- a/db/executor.go +++ b/db/executor.go @@ -50,6 +50,7 @@ func newExecutor(id, ns, db string) (e *executor) { e.ns = ns e.db = db + e.tx = nil e.err = nil e.buf = nil