summaryrefslogtreecommitdiff
path: root/sql/sql_class.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
commita4c63857aa511cfa6b086cd0c83333eac7804572 (patch)
tree873907f6d77f9c15af35e496f4d8ce9d14bf0dcc /sql/sql_class.h
parent684602df75b80c7fac8424c2647ae367e1b8cfdc (diff)
downloadmariadb-git-a4c63857aa511cfa6b086cd0c83333eac7804572.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/sql_class.h')
-rw-r--r--sql/sql_class.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index f9720a3774a..0a52f46d2af 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -280,7 +280,10 @@ public:
ulong slave_proxy_id; // in slave thread we need to know in behalf of which
// thread the query is being run to replicate temp tables properly
-
+
+ // thread-specific state map for lex parser
+ uchar state_map[256];
+
THD();
~THD();
bool store_globals();