You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sql/errors.go
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -953,6 +953,15 @@ var (
953
953
954
954
// ErrUnresolvedTableLock is returned when a FOR UPDATE OF clause references a table that doesn't exist in the query context.
955
955
ErrUnresolvedTableLock=errors.NewKind("unresolved table name `%s` in locking clause.")
956
+
957
+
// ErrBase64DecodeError is returned when decoding a base64 string fails.
958
+
ErrBase64DecodeError=errors.NewKind("Decoding of base64 string failed")
959
+
960
+
// ErrNoFormatDescriptionEventBeforeBinlogStatement is returned when a BINLOG statement is not preceded by a format description event.
961
+
ErrNoFormatDescriptionEventBeforeBinlogStatement=errors.NewKind("The BINLOG statement of type `%s` was not preceded by a format description BINLOG statement.")
962
+
963
+
// ErrOnlyFDAndRBREventsAllowedInBinlogStatement is returned when an unsupported event type is used in a BINLOG statement.
964
+
ErrOnlyFDAndRBREventsAllowedInBinlogStatement=errors.NewKind("Only Format_description_log_event and row events are allowed in BINLOG statements (but %s was provided)")
956
965
)
957
966
958
967
// CastSQLError returns a *mysql.SQLError with the error code and in some cases, also a SQL state, populated for the
0 commit comments