Skip to content

Commit 25d3315

Browse files
committed
ColumnDefinitionProcessor: addded CHARSET as alias for CHARACTER SET
1 parent 1cb20a0 commit 25d3315

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/PHPSQLParser/processors/ColumnDefinitionProcessor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ public function process($tokens) {
251251
break;
252252

253253
case 'SET':
254+
case 'CHARSET':
254255
if ($currCategory === 'CHARSET') {
255256
// TODO: is it necessary to set special properties like the name or collation?
256257
$parsed = array('expr_type' => ExpressionType::RESERVED, 'base_expr' => $trim);

0 commit comments

Comments
 (0)