diff options
author | unknown <Dao-Gang.Qu@sun.com> | 2010-01-12 20:07:09 +0800 |
---|---|---|
committer | unknown <Dao-Gang.Qu@sun.com> | 2010-01-12 20:07:09 +0800 |
commit | 16e15e69523c5aebd6642a47b216f736cfd456a2 (patch) | |
tree | 81fd0ce6bdc321649671cd1240deb0d5b1248e49 /sql/sql_lex.h | |
parent | 4b67a11d2bf201e273be79054b26e90ada15be38 (diff) | |
parent | 3701208a2e890d42aabc678a2a5d4ea539941b36 (diff) | |
download | mariadb-git-16e15e69523c5aebd6642a47b216f736cfd456a2.tar.gz |
Manual merge from next-mr.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index d313cb0484f..800a16cf2b6 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -33,15 +33,23 @@ class sp_pcontext; class st_alter_tablespace; class partition_info; class Event_parse_data; +class set_var_base; +class sys_var; + +/** + used by the parser to store internal variable name +*/ +struct sys_var_with_base +{ + sys_var *var; + LEX_STRING base_name; +}; #ifdef MYSQL_SERVER /* The following hack is needed because mysql_yacc.cc does not define YYSTYPE before including this file */ - -#include "set_var.h" - #ifdef MYSQL_YACC #define LEX_YYSTYPE void * #else |