@@ -889,6 +889,27 @@ var MySQLErrName = map[uint16]string{
ErrInvalidJSONPathWildcard:"In this situation, path expressions may not contain the * and ** tokens.",
ErrInvalidJSONContainsPathType:"The second argument can only be either 'one' or 'all'.",
ErrJSONUsedAsKey:"JSON column '%-.192s' cannot be used in key specification.",
ErrWindowNoSuchWindow:"Window name '%s' is not defined.",
ErrWindowCircularityInWindowGraph:"There is a circularity in the window dependency graph.",
ErrWindowNoChildPartitioning:"A window which depends on another cannot define partitioning.",
ErrWindowNoInherentFrame:"Window '%s' has a frame definition, so cannot be referenced by another window.",
ErrWindowNoRedefineOrderBy:"Window '%s' cannot inherit '%s' since both contain an ORDER BY clause.",
ErrWindowFrameStartIllegal:"Window '%s': frame start cannot be UNBOUNDED FOLLOWING.",
ErrWindowFrameEndIllegal:"Window '%s': frame end cannot be UNBOUNDED PRECEDING.",
ErrWindowFrameIllegal:"Window '%s': frame start or end is negative, NULL or of non-integral type",
ErrWindowRangeFrameOrderType:"Window '%s' with RANGE N PRECEDING/FOLLOWING frame requires exactly one ORDER BY expression, of numeric or temporal type",
ErrWindowRangeFrameTEMPORALType:"Window '%s' with RANGE frame has ORDER BY expression of datetime type. Only INTERVAL bound value allowed.",
ErrWindowRangeFrameNumericType:"Window '%s' with RANGE frame has ORDER BY expression of numeric type, INTERVAL bound value not allowed.",
ErrWindowRangeBoundNotConstant:"Window '%s' has a non-constant frame bound.",
ErrWindowDuplicateName:"Window '%s' is defined twice.",
ErrWindowIllegalOrderBy:"Window '%s': ORDER BY or PARTITION BY uses legacy position indication which is not supported, use expression.",
ErrWindowInvalidWindowFuncUse:"You cannot use the window function '%s' in this context.'",
ErrWindowInvalidWindowFuncAliasUse:"You cannot use the alias '%s' of an expression containing a window function in this context.'",
ErrWindowNestedWindowFuncUseInWindowSpec:"You cannot nest a window function in the specification of window '%s'.",
ErrWindowRowsIntervalUse:"Window '%s': INTERVAL can only be used with RANGE frames.",
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",