Skip to content

Commit 3c730ab

Browse files
committed
reverted changes from internal/xsql/conn.go
1 parent 5766978 commit 3c730ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/xsql/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (c *Conn) CheckNamedValue(value *driver.NamedValue) (finalErr error) {
4848
}
4949

5050
func (c *Conn) BeginTx(ctx context.Context, opts driver.TxOptions) (_ driver.Tx, finalErr error) {
51-
onDone := trace.DatabaseSQLOnConnBegin(c.connector.trace, &ctx,
51+
onDone := trace.DatabaseSQLOnConnBeginTx(c.connector.trace, &ctx,
5252
stack.FunctionID("", stack.Package("database/sql")),
5353
)
5454
defer func() {

0 commit comments

Comments
 (0)