Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: ICHINOSE Shogo <[email protected]>
  • Loading branch information
methane and shogo82148 authored Nov 21, 2024
1 parent 0a225ca commit 9dfff5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func newBuffer(nc net.Conn) buffer {
}
}

// busy retruns true if the buffer contains some read data.
// busy returns true if the buffer contains some read data.
func (b *buffer) busy() bool {
return b.length > 0
}
Expand Down
2 changes: 1 addition & 1 deletion connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (mc *mysqlConn) Close() (err error) {
return
}

// close closes the network connection and cleare results without sending COM_QUIT.
// close closes the network connection and clear results without sending COM_QUIT.
func (mc *mysqlConn) close() {
mc.cleanup()
mc.clearResult()
Expand Down

0 comments on commit 9dfff5d

Please sign in to comment.