diff options
author | cmiller@zippy.cornsilk.net <> | 2007-12-10 15:28:17 -0500 |
---|---|---|
committer | cmiller@zippy.cornsilk.net <> | 2007-12-10 15:28:17 -0500 |
commit | a35a8fe550154cbd6534d891f07ee26f78e59ddf (patch) | |
tree | f638aa8fef4b2b2b59a72b2018d27d00fd9625c3 /sql/sql_lex.h | |
parent | 4eb097ba1250fcee2f5e60873624a9db50ca7a53 (diff) | |
parent | 34ca9adee7ee6133e656e0537176f50b40a6b7c8 (diff) | |
download | mariadb-git-a35a8fe550154cbd6534d891f07ee26f78e59ddf.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
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.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index f216f51b0e4..890c18121bd 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 }; @@ -1067,6 +1072,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; |