Skip to content

Commit 1cb20a0

Browse files
committed
table_processor: addded CHARSET as alias for CHARACTER SET
1 parent 6a9bb5b commit 1cb20a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/PHPSQLParser/processors/TableProcessor.php

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

157157
case 'SET':
158+
case 'CHARSET':
158159
if ($prevCategory === 'TABLE_OPTION') {
159160
// add it to a previous CHARACTER
160161
$expr[] = $this->getReservedType($trim);

0 commit comments

Comments
 (0)