diff options
author | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2010-04-19 16:09:44 +0400 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2010-04-19 16:09:44 +0400 |
commit | fa3b2dcb838a05f5c07b78c2fc518018c473a47f (patch) | |
tree | b055b8d1c4471f9f8daad623d14e1af7b793f04c /sql/sql_lex.h | |
parent | 199f2ce47eb508aa62e9b2fcf80c6536cb14f4f5 (diff) | |
parent | fe0828b3b8193e086abe740572c9b0cb2b7da671 (diff) | |
download | mariadb-git-fa3b2dcb838a05f5c07b78c2fc518018c473a47f.tar.gz |
Manual merge of mysql-5.1-bugteam to
mysql-trunk-merge.
Conflicts:
Text conflict in sql/sql_priv.h
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index acd13517f37..7a381dabdea 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -20,6 +20,11 @@ #ifndef SQL_LEX_INCLUDED #define SQL_LEX_INCLUDED +#include "violite.h" /* SSL_type */ +#include "sql_trigger.h" +#include "item.h" /* From item_subselect.h: subselect_union_engine */ +#include "thr_lock.h" /* thr_lock_type, TL_UNLOCK */ + /* YACC and LEX Definitions */ /* These may not be declared yet */ @@ -35,6 +40,12 @@ class partition_info; class Event_parse_data; class set_var_base; class sys_var; +class Item_func_match; +class Alter_drop; +class Alter_column; +class Key; +class File_parser; +class Key_part_spec; /** used by the parser to store internal variable name @@ -55,6 +66,7 @@ struct sys_var_with_base #else #include "lex_symbol.h" #if MYSQL_LEX +#include "item_func.h" /* Cast_target used in sql_yacc.h */ #include "sql_yacc.h" #define LEX_YYSTYPE YYSTYPE * #else @@ -192,6 +204,12 @@ enum enum_drop_mode DROP_RESTRICT // RESTRICT option }; +/* Options to add_table_to_list() */ +#define TL_OPTION_UPDATING 1 +#define TL_OPTION_FORCE_INDEX 2 +#define TL_OPTION_IGNORE_LEAVES 4 +#define TL_OPTION_ALIAS 8 + typedef List<Item> List_item; /* SERVERS CACHE CHANGES */ @@ -2288,6 +2306,7 @@ extern bool is_lex_native_function(const LEX_STRING *name); */ void my_missing_function_error(const LEX_STRING &token, const char *name); +bool is_keyword(const char *name, uint len); #endif /* MYSQL_SERVER */ #endif /* SQL_LEX_INCLUDED */ |