Skip to content

Commit

Permalink
[ga-format-pr] Run ./format_repo.sh to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydrocharged committed Nov 23, 2024
1 parent ac2c9a6 commit 199d2b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql/types/strings.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ const (

var (
// ErrLengthTooLarge is thrown when a string's length is too large given the other parameters.
ErrLengthTooLarge = errors.NewKind("length is %v but max allowed is %v")
ErrLengthBeyondLimit = errors.NewKind("string '%v' is too large for column '%v'")
ErrBinaryCollation = errors.NewKind("binary types must have the binary collation: %v")
ErrBadCharsetString = errors.NewKind("invalid string for charset %s: '%v'")
ErrLengthTooLarge = errors.NewKind("length is %v but max allowed is %v")
ErrLengthBeyondLimit = errors.NewKind("string '%v' is too large for column '%v'")
ErrBinaryCollation = errors.NewKind("binary types must have the binary collation: %v")
ErrBadCharsetString = errors.NewKind("invalid string for charset %s: '%v'")

TinyText = MustCreateStringWithDefaults(sqltypes.Text, TinyTextBlobMax)
Text = MustCreateStringWithDefaults(sqltypes.Text, TextBlobMax)
Expand Down

0 comments on commit 199d2b0

Please sign in to comment.