Skip to content

Commit 76a031e

Browse files
committed
comment warning
1 parent 7f9025c commit 76a031e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/resp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
"github.com/go-mysql-org/go-mysql/utils"
1515
)
1616

17+
// this should only be called when CLIENT_DEPRECATE_EOF not enabled
1718
func (c *Conn) isEOFPacket(data []byte) bool {
1819
return data[0] == mysql.EOF_HEADER && len(data) <= 5
1920
}

0 commit comments

Comments
 (0)