Skip to content

Commit 35060d4

Browse files
committed
Add logging
1 parent 76c00e3 commit 35060d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

connection.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ func (mc *mysqlConn) Exec(query string, args []driver.Value) (driver.Result, err
350350
if mc.closed.Load() {
351351
return nil, driver.ErrBadConn
352352
}
353+
mc.log("Exec", query)
353354
if len(args) != 0 {
354355
if !mc.cfg.InterpolateParams {
355356
return nil, driver.ErrSkip

0 commit comments

Comments
 (0)