summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authoringo@mysql.com <>2004-04-07 14:56:24 +0200
committeringo@mysql.com <>2004-04-07 14:56:24 +0200
commit4de7e18b81144967af0575668062bee9a8617646 (patch)
treed67591428ccd76b55914906b3a2c65c7a878c8b9 /sql/sql_lex.h
parent61fd95d168b51092b7ce3ff56b2c8c8ed1a49c0f (diff)
parent376f252659658e023002a3d6e371bc30d5e2df5d (diff)
downloadmariadb-git-4de7e18b81144967af0575668062bee9a8617646.tar.gz
Hand-resolved auto merge
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 5538fb0e832..6ea4ae0b85d 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -509,6 +509,14 @@ public:
};
typedef class st_select_lex SELECT_LEX;
+#define ALTER_ADD_COLUMN 1
+#define ALTER_DROP_COLUMN 2
+#define ALTER_CHANGE_COLUMN 4
+#define ALTER_ADD_INDEX 8
+#define ALTER_DROP_INDEX 16
+#define ALTER_RENAME 32
+#define ALTER_ORDER 64
+#define ALTER_OPTIONS 128
/* The state of the lex parsing. This is saved in the THD struct */
@@ -578,6 +586,7 @@ typedef struct st_lex
uint grant, grant_tot_col, which_columns;
uint fk_delete_opt, fk_update_opt, fk_match_option;
uint slave_thd_opt;
+ uint alter_flags;
uint8 describe;
bool drop_if_exists, drop_temporary, local_file;
bool in_comment, ignore_space, verbose, simple_alter, no_write_to_binlog;