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
{{ message }}
Repository navigation
Commit d8fbcfa
Browse filesBrowse the repository at this point in the historyBrowse files
MySQL's composite ANSI mode is shorthand for a set of component modes. Expand
it when sql_mode is set and store the resulting list, so that "@@sql_mode" and
individual mode checks reflect the components:
REAL_AS_FLOAT, PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, ONLY_FULL_GROUP_BY
REAL_AS_FLOAT and ONLY_FULL_GROUP_BY are stored but not yet respected by the
emulation.
The driver is the source of truth for SQL modes, but the lexer also recognizes
the composite ANSI mode directly so it stays correct when used standalone,
applying the components that affect tokenization: PIPES_AS_CONCAT, IGNORE_SPACE,
and ANSI_QUOTES.
See: https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html#sqlmode_ansi
0 commit comments