Skip to content

Commit c99675f

Browse files
committed
Merge branch 'svnsync'
ADD: a TODO has been added. If the left side of a SET expression is a reserved keyword, it should be changed to colref.
2 parents 8a6d279 + 82bcc19 commit c99675f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/PHPSQLParser/processors/SetProcessor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ protected function processExpressionList($tokens) {
5757
*/
5858
protected function processAssignment($base_expr) {
5959
$assignment = $this->processExpressionList($this->splitSQLIntoTokens($base_expr));
60+
61+
// TODO: if the left side of the assignment is a reserved keyword, it should be changed to colref
62+
6063
return array('expr_type' => ExpressionType::EXPRESSION, 'base_expr' => trim($base_expr),
6164
'sub_tree' => (empty($assignment) ? false : $assignment));
6265
}

0 commit comments

Comments
 (0)