|
@@ -278,11 +278,11 @@ discard block |
|
|
block discarded – undo |
|
278
|
278
|
} elseif (($token->value === ',') && ($brackets === 0)) { |
|
279
|
279
|
break; |
|
280
|
280
|
} |
|
281
|
|
- } elseif (! empty(Parser::$STATEMENT_PARSERS[$token->value])) { |
|
|
281
|
+ } elseif (!empty(Parser::$STATEMENT_PARSERS[$token->value])) { |
|
282
|
282
|
// We have reached the end of ALTER operation and suddenly found |
|
283
|
283
|
// a start to new statement, but have not find a delimiter between them |
|
284
|
284
|
|
|
285
|
|
- if (! ($token->value === 'SET' && $list->tokens[$list->idx - 1]->value === 'CHARACTER')) { |
|
|
285
|
+ if (!($token->value === 'SET' && $list->tokens[$list->idx - 1]->value === 'CHARACTER')) { |
|
286
|
286
|
$parser->error( |
|
287
|
287
|
'A new statement was found, but no delimiter between it and the previous one.', |
|
288
|
288
|
$token |
|
@@ -291,7 +291,7 @@ discard block |
|
|
block discarded – undo |
|
291
|
291
|
} |
|
292
|
292
|
} elseif ((array_key_exists($array_key, self::$DB_OPTIONS) |
|
293
|
293
|
|| array_key_exists($array_key, self::$TABLE_OPTIONS)) |
|
294
|
|
- && ! self::checkIfColumnDefinitionKeyword($array_key) |
|
|
294
|
+ && !self::checkIfColumnDefinitionKeyword($array_key) |
|
295
|
295
|
) { |
|
296
|
296
|
// This alter operation has finished, which means a comma |
|
297
|
297
|
// was missing before start of new alter operation |
Please login to merge, or discard this patch.