mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merged 4.1 into 5.0.
This commit is contained in:
@ -21,6 +21,9 @@
|
||||
class Table_ident;
|
||||
class sql_exchange;
|
||||
class LEX_COLUMN;
|
||||
class sp_head;
|
||||
class sp_instr;
|
||||
class sp_pcontext;
|
||||
|
||||
/*
|
||||
The following hack is needed because mysql_yacc.cc does not define
|
||||
@ -72,6 +75,8 @@ enum enum_sql_command {
|
||||
SQLCOM_SHOW_WARNS, SQLCOM_EMPTY_QUERY, SQLCOM_SHOW_ERRORS,
|
||||
SQLCOM_SHOW_COLUMN_TYPES, SQLCOM_SHOW_TABLE_TYPES, SQLCOM_SHOW_PRIVILEGES,
|
||||
SQLCOM_HELP,
|
||||
SQLCOM_CREATE_PROCEDURE, SQLCOM_CREATE_SPFUNCTION, SQLCOM_CALL,
|
||||
SQLCOM_DROP_PROCEDURE, SQLCOM_ALTER_PROCEDURE,SQLCOM_ALTER_FUNCTION,
|
||||
|
||||
/* This should be the last !!! */
|
||||
SQLCOM_END
|
||||
@ -419,6 +424,7 @@ typedef struct st_lex
|
||||
SELECT_LEX_NODE *current_select;
|
||||
/* list of all SELECT_LEX */
|
||||
SELECT_LEX *all_selects_list;
|
||||
uchar *buf; /* The beginning of string, used by SPs */
|
||||
uchar *ptr,*tok_start,*tok_end,*end_of_query;
|
||||
char *length,*dec,*change,*name;
|
||||
char *backup_dir; /* For RESTORE/BACKUP */
|
||||
@ -478,6 +484,9 @@ typedef struct st_lex
|
||||
uint slave_thd_opt;
|
||||
CHARSET_INFO *charset;
|
||||
char *help_arg;
|
||||
sp_head *sphead;
|
||||
sp_pcontext *spcont;
|
||||
List<char> spfuns; /* Called functions */
|
||||
|
||||
inline void uncacheable()
|
||||
{
|
||||
|
Reference in New Issue
Block a user