Skip to content

Commit 0512769

Browse files
committed
move const flag
1 parent 750fe2a commit 0512769

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compress.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ func zCompress(src []byte, dst io.Writer) error {
8686
return nil
8787
}
8888

89-
// for debugging wire protocol.
90-
const debugTrace = false
91-
9289
type compressor struct {
9390
mc *mysqlConn
9491
bytesBuf []byte // read buffer (FIFO)

const.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ package mysql
1111
import "runtime"
1212

1313
const (
14+
debugTrace = false // for debugging wire protocol.
15+
1416
defaultAuthPlugin = "mysql_native_password"
1517
defaultMaxAllowedPacket = 64 << 20 // 64 MiB. See https://github.com/go-sql-driver/mysql/issues/1355
1618
minProtocolVersion = 10

0 commit comments

Comments
 (0)