summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-05-06 09:06:32 -0400
committerChad MILLER <chad@mysql.com>2009-05-06 09:06:32 -0400
commit128afdc3e5d06381f525e0d9cdc2df7c497e886c (patch)
treeb7a5df1540af07a49f7d577804919b7027fc4edf /sql/sql_lex.h
parent0f95bd31058f21f0872191eac49809622725564d (diff)
parent9d58239dea8c615a10a0939e34d052b22808e75f (diff)
downloadmariadb-git-128afdc3e5d06381f525e0d9cdc2df7c497e886c.tar.gz
Merge community up to enterprise, thus ending the community-server
adventure.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 3e762581e04..5c0367632e1 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -94,8 +94,13 @@ enum enum_sql_command {
SQLCOM_XA_START, SQLCOM_XA_END, SQLCOM_XA_PREPARE,
SQLCOM_XA_COMMIT, SQLCOM_XA_ROLLBACK, SQLCOM_XA_RECOVER,
SQLCOM_SHOW_PROC_CODE, SQLCOM_SHOW_FUNC_CODE,
- /* This should be the last !!! */
+ SQLCOM_SHOW_PROFILE, SQLCOM_SHOW_PROFILES,
+ /*
+ When a command is added here, be sure it's also added in mysqld.cc
+ in "struct show_var_st status_vars[]= {" ...
+ */
+ /* This should be the last !!! */
SQLCOM_END
};
@@ -1076,6 +1081,9 @@ typedef struct st_lex : public Query_tables_list
enum enum_var_type option_type;
enum enum_view_create_mode create_view_mode;
enum enum_drop_mode drop_mode;
+
+ uint profile_query_id;
+ uint profile_options;
uint uint_geom_type;
uint grant, grant_tot_col, which_columns;
uint fk_delete_opt, fk_update_opt, fk_match_option;