summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2004-04-07 14:56:24 +0200
committerunknown <ingo@mysql.com>2004-04-07 14:56:24 +0200
commitcc168fc6fdb2299d568944c5265ec8787445ec4f (patch)
treed67591428ccd76b55914906b3a2c65c7a878c8b9 /sql/sql_lex.h
parent0948f9769b3e3da2e064e65015b86644af4acd78 (diff)
parent03044fe20463f44c64b3ff8580972b3dbe874301 (diff)
downloadmariadb-git-cc168fc6fdb2299d568944c5265ec8787445ec4f.tar.gz
Hand-resolved auto merge
BitKeeper/etc/ignore: auto-union sql/handler.h: Auto merged sql/mysql_priv.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_lex.h: Auto merged sql/unireg.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Hand-merged sql/sql_yacc.yy: Hand-merged
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;