summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-07-02 10:46:46 -0400
committercmiller@zippy.cornsilk.net <>2007-07-02 10:46:46 -0400
commit681ee9694bc0d6203ffdd5175a2b6e7e77fc41d4 (patch)
treead2a11ebcf9c63780cf2788f9469dee1d50cd9c7 /sql/sql_lex.h
parentc4b53b218c71aff3410ec4358dfec2b9d0e1e1b4 (diff)
parent01f572052d0d50a06745d5b6d96e20db81530d7b (diff)
downloadmariadb-git-681ee9694bc0d6203ffdd5175a2b6e7e77fc41d4.tar.gz
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-community
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 f8405ef14ca..8ad0b48ee25 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
};
@@ -1062,6 +1067,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;