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 9383eca..1ae28ae 100644 --- a/src/Components/AlterOperation.php +++ b/src/Components/AlterOperation.php @@ -236,7 +236,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 |