Skip to content

Commit

Permalink
add require secure transport error (#779) (#780)
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Yu <yusp@pingcap.com>
  • Loading branch information
lysu and jackysp authored Mar 18, 2020
1 parent a313c64 commit f0b8f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mysql/errcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ const (
ErrInvalidJSONContainsPathType = 3150
ErrJSONUsedAsKey = 3152
ErrInvalidJSONPathArrayCell = 3165
ErrSecureTransportRequired = 3159
ErrBadUser = 3162
ErrRoleNotGranted = 3530
ErrLockAcquireFailAndNoWaitSet = 3572
Expand Down
1 change: 1 addition & 0 deletions mysql/errname.go
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ var MySQLErrName = map[uint16]string{
ErrWindowNoGroupOrderUnused: "ASC or DESC with GROUP BY isn't allowed with window functions; put ASC or DESC in ORDER BY",
ErrWindowExplainJson: "To get information about window functions use EXPLAIN FORMAT=JSON",
ErrWindowFunctionIgnoresFrame: "Window function '%s' ignores the frame clause of window '%s' and aggregates over the whole partition",
ErrSecureTransportRequired: "Connections using insecure transport are prohibited while --require_secure_transport=ON.",
ErrRoleNotGranted: "%s is is not granted to %s",
ErrMaxExecTimeExceeded: "Query execution was interrupted, max_execution_time exceeded.",
ErrLockAcquireFailAndNoWaitSet: "Statement aborted because lock(s) could not be acquired immediately and NOWAIT is set.",
Expand Down

0 comments on commit f0b8f6c

Please sign in to comment.