|
100 | 100 | \Framework\Database\Definition\AlterTable::ALGO_INPLACE, |
101 | 101 | \Framework\Database\Definition\AlterTable::ALGO_INSTANT, |
102 | 102 | \Framework\Database\Definition\AlterTable::ALGO_NOCOPY, |
| 103 | + 'COPY', |
| 104 | + 'DEFAULT', |
| 105 | + 'INPLACE', |
| 106 | + 'INSTANT', |
| 107 | + 'NOCOPY', |
103 | 108 | ); |
104 | 109 | expectedArguments( |
105 | 110 | \Framework\Database\Definition\AlterTable::algorithm(), |
|
112 | 117 | \Framework\Database\Definition\AlterTable::LOCK_EXCLUSIVE, |
113 | 118 | \Framework\Database\Definition\AlterTable::LOCK_NONE, |
114 | 119 | \Framework\Database\Definition\AlterTable::LOCK_SHARED, |
| 120 | + 'DEFAULT', |
| 121 | + 'EXCLUSIVE', |
| 122 | + 'NONE', |
| 123 | + 'SHARED', |
115 | 124 | ); |
116 | 125 | expectedArguments( |
117 | 126 | \Framework\Database\Definition\AlterTable::lock(), |
|
123 | 132 | \Framework\Database\Manipulation\Delete::OPT_IGNORE, |
124 | 133 | \Framework\Database\Manipulation\Delete::OPT_LOW_PRIORITY, |
125 | 134 | \Framework\Database\Manipulation\Delete::OPT_QUICK, |
| 135 | + 'IGNORE', |
| 136 | + 'LOW_PRIORITY', |
| 137 | + 'QUICK', |
126 | 138 | ); |
127 | 139 | expectedArguments( |
128 | 140 | \Framework\Database\Manipulation\Delete::options(), |
129 | 141 | 0, |
130 | 142 | argumentsSet('manipulation_delete_opt') |
131 | 143 | ); |
| 144 | +expectedArguments( |
| 145 | + \Framework\Database\Manipulation\Delete::options(), |
| 146 | + 1, |
| 147 | + argumentsSet('manipulation_delete_opt') |
| 148 | +); |
| 149 | +expectedArguments( |
| 150 | + \Framework\Database\Manipulation\Delete::options(), |
| 151 | + 2, |
| 152 | + argumentsSet('manipulation_delete_opt') |
| 153 | +); |
132 | 154 | registerArgumentsSet( |
133 | 155 | 'manipulation_insert_opt', |
134 | 156 | \Framework\Database\Manipulation\Insert::OPT_DELAYED, |
135 | 157 | \Framework\Database\Manipulation\Insert::OPT_HIGH_PRIORITY, |
136 | 158 | \Framework\Database\Manipulation\Insert::OPT_IGNORE, |
137 | 159 | \Framework\Database\Manipulation\Insert::OPT_LOW_PRIORITY, |
| 160 | + 'DELAYED', |
| 161 | + 'HIGH_PRIORITY', |
| 162 | + 'IGNORE', |
| 163 | + 'LOW_PRIORITY', |
138 | 164 | ); |
139 | 165 | expectedArguments( |
140 | 166 | \Framework\Database\Manipulation\Insert::options(), |
141 | 167 | 0, |
142 | 168 | argumentsSet('manipulation_insert_opt') |
143 | 169 | ); |
| 170 | +expectedArguments( |
| 171 | + \Framework\Database\Manipulation\Insert::options(), |
| 172 | + 1, |
| 173 | + argumentsSet('manipulation_insert_opt') |
| 174 | +); |
| 175 | +expectedArguments( |
| 176 | + \Framework\Database\Manipulation\Insert::options(), |
| 177 | + 2, |
| 178 | + argumentsSet('manipulation_insert_opt') |
| 179 | +); |
144 | 180 | registerArgumentsSet( |
145 | 181 | 'manipulation_load_data_opt', |
146 | 182 | \Framework\Database\Manipulation\LoadData::OPT_CONCURRENT, |
147 | 183 | \Framework\Database\Manipulation\LoadData::OPT_LOCAL, |
148 | 184 | \Framework\Database\Manipulation\LoadData::OPT_LOW_PRIORITY, |
| 185 | + 'CONCURRENT', |
| 186 | + 'LOCAL', |
| 187 | + 'LOW_PRIORITY', |
149 | 188 | ); |
150 | 189 | expectedArguments( |
151 | 190 | \Framework\Database\Manipulation\LoadData::options(), |
152 | 191 | 0, |
153 | 192 | argumentsSet('manipulation_load_data_opt') |
154 | 193 | ); |
| 194 | +expectedArguments( |
| 195 | + \Framework\Database\Manipulation\LoadData::options(), |
| 196 | + 1, |
| 197 | + argumentsSet('manipulation_load_data_opt') |
| 198 | +); |
| 199 | +expectedArguments( |
| 200 | + \Framework\Database\Manipulation\LoadData::options(), |
| 201 | + 2, |
| 202 | + argumentsSet('manipulation_load_data_opt') |
| 203 | +); |
155 | 204 | registerArgumentsSet( |
156 | 205 | 'manipulation_replace_opt', |
157 | 206 | \Framework\Database\Manipulation\Replace::OPT_DELAYED, |
158 | 207 | \Framework\Database\Manipulation\Replace::OPT_LOW_PRIORITY, |
| 208 | + 'DELAYED', |
| 209 | + 'LOW_PRIORITY', |
159 | 210 | ); |
160 | 211 | expectedArguments( |
161 | 212 | \Framework\Database\Manipulation\Replace::options(), |
162 | 213 | 0, |
163 | 214 | argumentsSet('manipulation_replace_opt') |
164 | 215 | ); |
| 216 | +expectedArguments( |
| 217 | + \Framework\Database\Manipulation\Replace::options(), |
| 218 | + 1, |
| 219 | + argumentsSet('manipulation_replace_opt') |
| 220 | +); |
165 | 221 | registerArgumentsSet( |
166 | 222 | 'manipulation_select_opt', |
167 | 223 | \Framework\Database\Manipulation\Select::OPT_ALL, |
|
175 | 231 | \Framework\Database\Manipulation\Select::OPT_SQL_NO_CACHE, |
176 | 232 | \Framework\Database\Manipulation\Select::OPT_SQL_SMALL_RESULT, |
177 | 233 | \Framework\Database\Manipulation\Select::OPT_STRAIGHT_JOIN, |
| 234 | + 'ALL', |
| 235 | + 'DISTINCT', |
| 236 | + 'DISTINCTROW', |
| 237 | + 'HIGH_PRIORITY', |
| 238 | + 'SQL_BIG_RESULT', |
| 239 | + 'SQL_BUFFER_RESULT', |
| 240 | + 'SQL_CACHE', |
| 241 | + 'SQL_CALC_FOUND_ROWS', |
| 242 | + 'SQL_NO_CACHE', |
| 243 | + 'SQL_SMALL_RESULT', |
| 244 | + 'STRAIGHT_JOIN', |
178 | 245 | ); |
179 | 246 | expectedArguments( |
180 | 247 | \Framework\Database\Manipulation\Select::options(), |
181 | 248 | 0, |
182 | 249 | argumentsSet('manipulation_select_opt') |
183 | 250 | ); |
| 251 | +expectedArguments( |
| 252 | + \Framework\Database\Manipulation\Select::options(), |
| 253 | + 1, |
| 254 | + argumentsSet('manipulation_select_opt') |
| 255 | +); |
| 256 | +expectedArguments( |
| 257 | + \Framework\Database\Manipulation\Select::options(), |
| 258 | + 2, |
| 259 | + argumentsSet('manipulation_select_opt') |
| 260 | +); |
184 | 261 | registerArgumentsSet( |
185 | 262 | 'manipulation_update_opt', |
186 | 263 | \Framework\Database\Manipulation\Update::OPT_IGNORE, |
187 | 264 | \Framework\Database\Manipulation\Update::OPT_LOW_PRIORITY, |
| 265 | + 'IGNORE', |
| 266 | + 'LOW_PRIORITY', |
188 | 267 | ); |
189 | 268 | expectedArguments( |
190 | 269 | \Framework\Database\Manipulation\Update::options(), |
191 | 270 | 0, |
192 | 271 | argumentsSet('manipulation_update_opt') |
193 | 272 | ); |
| 273 | +expectedArguments( |
| 274 | + \Framework\Database\Manipulation\Update::options(), |
| 275 | + 1, |
| 276 | + argumentsSet('manipulation_update_opt') |
| 277 | +); |
194 | 278 | registerArgumentsSet( |
195 | 279 | 'manipulation_with_opt', |
196 | | - \Framework\Database\Manipulation\With::OPT_RECURSIVE |
| 280 | + \Framework\Database\Manipulation\With::OPT_RECURSIVE, |
| 281 | + 'RECURSIVE', |
197 | 282 | ); |
198 | 283 | expectedArguments( |
199 | 284 | \Framework\Database\Manipulation\With::options(), |
|
206 | 291 | \Framework\Database\Definition\Table\Indexes\Keys\ForeignKey::OPT_NO_ACTION, |
207 | 292 | \Framework\Database\Definition\Table\Indexes\Keys\ForeignKey::OPT_RESTRICT, |
208 | 293 | \Framework\Database\Definition\Table\Indexes\Keys\ForeignKey::OPT_SET_NULL, |
| 294 | + 'CASCADE', |
| 295 | + 'NO ACTION', |
| 296 | + 'RESTRICT', |
| 297 | + 'SET NULL', |
209 | 298 | ); |
210 | 299 | expectedArguments( |
211 | 300 | \Framework\Database\Definition\Table\Indexes\Keys\ForeignKey::onDelete(), |
|
251 | 340 | \Framework\Database\Definition\Table\TableStatement::OPT_TRANSACTIONAL, |
252 | 341 | \Framework\Database\Definition\Table\TableStatement::OPT_UNION, |
253 | 342 | \Framework\Database\Definition\Table\TableStatement::OPT_WITH_SYSTEM_VERSIONING, |
| 343 | + 'AUTO_INCREMENT', |
| 344 | + 'AVG_ROW_LENGTH', |
| 345 | + 'CHARSET', |
| 346 | + 'CHECKSUM', |
| 347 | + 'COLLATE', |
| 348 | + 'COMMENT', |
| 349 | + 'CONNECTION', |
| 350 | + 'DATA DIRECTORY', |
| 351 | + 'DELAY_KEY_WRITE', |
| 352 | + 'ENCRYPTED', |
| 353 | + 'ENCRYPTION_KEY_ID', |
| 354 | + 'ENGINE', |
| 355 | + 'IETF_QUOTES', |
| 356 | + 'INDEX DIRECTORY', |
| 357 | + 'INSERT_METHOD', |
| 358 | + 'KEY_BLOCK_SIZE', |
| 359 | + 'MAX_ROWS', |
| 360 | + 'MIN_ROWS', |
| 361 | + 'PACK_KEYS', |
| 362 | + 'PAGE_CHECKSUM', |
| 363 | + 'PAGE_COMPRESSED', |
| 364 | + 'PAGE_COMPRESSION_LEVEL', |
| 365 | + 'PASSWORD', |
| 366 | + 'ROW_FORMAT', |
| 367 | + 'SEQUENCE', |
| 368 | + 'STATS_AUTO_RECALC', |
| 369 | + 'STATS_PERSISTENT', |
| 370 | + 'STATS_SAMPLE_PAGES', |
| 371 | + 'TABLESPACE', |
| 372 | + 'TRANSACTIONAL', |
| 373 | + 'UNION', |
| 374 | + 'WITH SYSTEM VERSIONING', |
254 | 375 | ); |
255 | 376 | expectedArguments( |
256 | 377 | \Framework\Database\Definition\Table\TableStatement::option(), |
|
0 commit comments