summaryrefslogtreecommitdiff
path: root/sql/lex.h
diff options
context:
space:
mode:
authorunknown <jcole@tetra.spaceapes.com>2001-03-12 18:16:30 -0600
committerunknown <jcole@tetra.spaceapes.com>2001-03-12 18:16:30 -0600
commitee92b9f634e3ca573ee6c30f87bc8e8714c08827 (patch)
tree873907f6d77f9c15af35e496f4d8ce9d14bf0dcc /sql/lex.h
parentc6639098152b68b13aa77709e38c76515304381e (diff)
downloadmariadb-git-ee92b9f634e3ca573ee6c30f87bc8e8714c08827.tar.gz
Added SQL_ANSI_MODE.
Docs/manual.texi: Added News section for 3.23.35, and change notes for SQL_ANSI_MODE. sql/gen_lex_hash.cc: Fixed typo. Updated the values, so the parser can be created. sql/mysql_priv.h: Added ``global_state_map'' from sql_lex.cc. sql/sql_class.h: Added ``state_map'' to THD. This is a per-thread state map for lex. sql/sql_lex.cc: Renamed ``state_map'' to ``global_state_map''. Changed yylex() to use the new per-thread state map. sql/sql_parse.cc: Copy global_state_map into thd->state_map on thread start. sql/sql_yacc.yy: Added SQL_ANSI_MODE. Cleaned up some.
Diffstat (limited to 'sql/lex.h')
-rw-r--r--sql/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h
index 6f030aa524d..6d676a39755 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -270,6 +270,7 @@ static SYMBOL symbols[] = {
{ "SLAVE", SYM(SLAVE),0,0},
{ "SMALLINT", SYM(SMALLINT),0,0},
{ "SONAME", SYM(UDF_SONAME_SYM),0,0},
+ { "SQL_ANSI_MODE", SYM(SQL_ANSI_MODE),0,0},
{ "SQL_AUTO_IS_NULL", SYM(SQL_AUTO_IS_NULL),0,0},
{ "SQL_BIG_RESULT", SYM(SQL_BIG_RESULT),0,0},
{ "SQL_BIG_SELECTS", SYM(SQL_BIG_SELECTS),0,0},