Skip to content

Commit 7677e78

Browse files
CHG: the column name has been changed from column to col, column is a reserved keyword, the parser doesn't categorize it as colref, I have add a TODO into the processor.
git-svn-id: https://php-sql-parser.googlecode.com/svn/trunk@1350 44dcfd11-89b7-3d55-2063-5c365055f77f
1 parent 8d98f21 commit 7677e78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cases/parser/issue72.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
require_once dirname(__FILE__) . '/../../../src/PHPSQLParser/PHPSQLParser.php';
4343
require_once dirname(__FILE__) . '/../../test-more.php';
4444

45-
$sql = "update table set column=@max";
45+
$sql = "update table set col=@max";
4646
$parser = new PHPSQLParser($sql);
4747
$p = $parser->parsed;
4848
$expected = getExpectedValue(dirname(__FILE__), 'issue72.serialized');

0 commit comments

Comments
 (0)