Skip to content

Commit

Permalink
utils: fix typo (#1312)
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Mar 3, 2022
1 parent 217d050 commit c1aa681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func stringToInt(b []byte) int {
return val
}

// returns the string read as a bytes slice, wheter the value is NULL,
// returns the string read as a bytes slice, whether the value is NULL,
// the number of bytes read and an error, in case the string is longer than
// the input slice
func readLengthEncodedString(b []byte) ([]byte, bool, int, error) {
Expand Down

0 comments on commit c1aa681

Please sign in to comment.