@@ -70,59 +70,56 @@ class Alter_info
70
70
// Set for DISABLE KEYS | ENABLE KEYS
71
71
static const uint ALTER_KEYS_ONOFF = 1L << 9 ;
72
72
73
- // Set for CONVERT TO CHARACTER SET
74
- static const uint ALTER_CONVERT = 1L << 10 ;
75
-
76
73
// Set for FORCE
77
74
// Set for ENGINE(same engine)
78
75
// Set by mysql_recreate_table()
79
- static const uint ALTER_RECREATE = 1L << 11 ;
76
+ static const uint ALTER_RECREATE = 1L << 10 ;
80
77
81
78
// Set for ADD PARTITION
82
- static const uint ALTER_ADD_PARTITION = 1L << 12 ;
79
+ static const uint ALTER_ADD_PARTITION = 1L << 11 ;
83
80
84
81
// Set for DROP PARTITION
85
- static const uint ALTER_DROP_PARTITION = 1L << 13 ;
82
+ static const uint ALTER_DROP_PARTITION = 1L << 12 ;
86
83
87
84
// Set for COALESCE PARTITION
88
- static const uint ALTER_COALESCE_PARTITION = 1L << 14 ;
85
+ static const uint ALTER_COALESCE_PARTITION = 1L << 13 ;
89
86
90
87
// Set for REORGANIZE PARTITION ... INTO
91
- static const uint ALTER_REORGANIZE_PARTITION = 1L << 15 ;
88
+ static const uint ALTER_REORGANIZE_PARTITION = 1L << 14 ;
92
89
93
90
// Set for partition_options
94
- static const uint ALTER_PARTITION = 1L << 16 ;
91
+ static const uint ALTER_PARTITION = 1L << 15 ;
95
92
96
93
// Set for LOAD INDEX INTO CACHE ... PARTITION
97
94
// Set for CACHE INDEX ... PARTITION
98
- static const uint ALTER_ADMIN_PARTITION = 1L << 17 ;
95
+ static const uint ALTER_ADMIN_PARTITION = 1L << 16 ;
99
96
100
97
// Set for REORGANIZE PARTITION
101
- static const uint ALTER_TABLE_REORG = 1L << 18 ;
98
+ static const uint ALTER_TABLE_REORG = 1L << 17 ;
102
99
103
100
// Set for REBUILD PARTITION
104
- static const uint ALTER_REBUILD_PARTITION = 1L << 19 ;
101
+ static const uint ALTER_REBUILD_PARTITION = 1L << 18 ;
105
102
106
103
// Set for partitioning operations specifying ALL keyword
107
- static const uint ALTER_ALL_PARTITION = 1L << 20 ;
104
+ static const uint ALTER_ALL_PARTITION = 1L << 19 ;
108
105
109
106
// Set for REMOVE PARTITIONING
110
- static const uint ALTER_REMOVE_PARTITIONING = 1L << 21 ;
107
+ static const uint ALTER_REMOVE_PARTITIONING = 1L << 20 ;
111
108
112
109
// Set for ADD FOREIGN KEY
113
- static const uint ADD_FOREIGN_KEY = 1L << 22 ;
110
+ static const uint ADD_FOREIGN_KEY = 1L << 21 ;
114
111
115
112
// Set for DROP FOREIGN KEY
116
- static const uint DROP_FOREIGN_KEY = 1L << 23 ;
113
+ static const uint DROP_FOREIGN_KEY = 1L << 22 ;
117
114
118
115
// Set for EXCHANGE PARITION
119
- static const uint ALTER_EXCHANGE_PARTITION = 1L << 24 ;
116
+ static const uint ALTER_EXCHANGE_PARTITION = 1L << 23 ;
120
117
121
118
// Set by Sql_cmd_alter_table_truncate_partition::execute()
122
- static const uint ALTER_TRUNCATE_PARTITION = 1L << 25 ;
119
+ static const uint ALTER_TRUNCATE_PARTITION = 1L << 24 ;
123
120
124
121
// Set for ADD [COLUMN] FIRST | AFTER
125
- static const uint ALTER_COLUMN_ORDER = 1L << 26 ;
122
+ static const uint ALTER_COLUMN_ORDER = 1L << 25 ;
126
123
127
124
128
125
enum enum_enable_or_disable { LEAVE_AS_IS, ENABLE, DISABLE };
0 commit comments