We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a6d279 + 82bcc19 commit c99675fCopy full SHA for c99675f
1 file changed
src/PHPSQLParser/processors/SetProcessor.php
@@ -57,6 +57,9 @@ protected function processExpressionList($tokens) {
57
*/
58
protected function processAssignment($base_expr) {
59
$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
63
return array('expr_type' => ExpressionType::EXPRESSION, 'base_expr' => trim($base_expr),
64
'sub_tree' => (empty($assignment) ? false : $assignment));
65
}
0 commit comments