fix transactions tracing

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-01-17 15:14:12 +03:00
parent 4e6a2d3a57
commit b76f489297

2
tx.go
View File

@ -38,6 +38,7 @@ func (w *wrapperTx) Commit() error {
} }
w.ctx = nil w.ctx = nil
w.conn.ctx = nil
return err return err
} }
@ -61,6 +62,7 @@ func (w *wrapperTx) Rollback() error {
} }
w.ctx = nil w.ctx = nil
w.conn.ctx = nil
return err return err
} }