diff options
Diffstat (limited to 'src/Components/AlterOperation.php')
-rw-r--r-- | src/Components/AlterOperation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/AlterOperation.php b/src/Components/AlterOperation.php index 72d3726..9c77029 100644 --- a/src/Components/AlterOperation.php +++ b/src/Components/AlterOperation.php @@ -223,7 +223,7 @@ class AlterOperation extends Component // We have reached the end of ALTER operation and suddenly found // a start to new statement, but have not find a delimiter between them - if (! $token->value == 'SET' && $list->tokens[$list->idx - 1]->value == 'CHARACTER') { + if (! ($token->value == 'SET' && $list->tokens[$list->idx - 1]->value == 'CHARACTER')) { $parser->error( __('A new statement was found, but no delimiter between it and the previous one.'), $token |