886
882
#define MYF(v) (myf) (v)
885
When a command is added here, be sure it's also added in mysqld.cc
886
in "struct show_var_st status_vars[]= {" ...
888
If the command returns a result set or is not allowed in stored
889
functions or triggers, please also make sure that
890
sp_get_flags_for_command (sp_head.cc) returns proper flags for the
894
enum enum_sql_command {
895
SQLCOM_SELECT, SQLCOM_CREATE_TABLE, SQLCOM_CREATE_INDEX, SQLCOM_ALTER_TABLE,
896
SQLCOM_UPDATE, SQLCOM_INSERT, SQLCOM_INSERT_SELECT,
897
SQLCOM_DELETE, SQLCOM_TRUNCATE, SQLCOM_DROP_TABLE, SQLCOM_DROP_INDEX,
898
SQLCOM_SHOW_DATABASES, SQLCOM_SHOW_TABLES, SQLCOM_SHOW_FIELDS,
899
SQLCOM_SHOW_KEYS, SQLCOM_SHOW_VARIABLES, SQLCOM_SHOW_STATUS,
900
SQLCOM_SHOW_ENGINE_LOGS, SQLCOM_SHOW_ENGINE_STATUS, SQLCOM_SHOW_ENGINE_MUTEX,
901
SQLCOM_SHOW_PROCESSLIST, SQLCOM_SHOW_MASTER_STAT, SQLCOM_SHOW_SLAVE_STAT,
903
SQLCOM_SHOW_CREATE_DB,
904
SQLCOM_SHOW_TABLE_STATUS,
905
SQLCOM_LOAD,SQLCOM_SET_OPTION,SQLCOM_LOCK_TABLES,SQLCOM_UNLOCK_TABLES,
906
SQLCOM_CHANGE_DB, SQLCOM_CREATE_DB, SQLCOM_DROP_DB, SQLCOM_ALTER_DB,
907
SQLCOM_REPAIR, SQLCOM_REPLACE, SQLCOM_REPLACE_SELECT,
908
SQLCOM_OPTIMIZE, SQLCOM_CHECK,
909
SQLCOM_ASSIGN_TO_KEYCACHE,
910
SQLCOM_FLUSH, SQLCOM_KILL, SQLCOM_ANALYZE,
911
SQLCOM_ROLLBACK, SQLCOM_ROLLBACK_TO_SAVEPOINT,
912
SQLCOM_COMMIT, SQLCOM_SAVEPOINT, SQLCOM_RELEASE_SAVEPOINT,
913
SQLCOM_SLAVE_START, SQLCOM_SLAVE_STOP,
914
SQLCOM_BEGIN, SQLCOM_CHANGE_MASTER,
916
SQLCOM_RESET, SQLCOM_PURGE, SQLCOM_PURGE_BEFORE, SQLCOM_SHOW_BINLOGS,
917
SQLCOM_SHOW_OPEN_TABLES,
918
SQLCOM_DELETE_MULTI, SQLCOM_UPDATE_MULTI,
923
SQLCOM_BINLOG_BASE64_EVENT,
926
When a command is added here, be sure it's also added in mysqld.cc
927
in "struct show_var_st status_vars[]= {" ...
929
/* This should be the last !!! */
933
enum enum_duplicates { DUP_ERROR, DUP_REPLACE, DUP_UPDATE };
935
enum release_type { RELEASE_NORMAL, RELEASE_WAIT_FOR_DROP };
888
937
#endif /* DRIZZLE_SERVER_DEFINITIONS_H */