summaryrefslogtreecommitdiffstats
path: root/tests/Parser
diff options
context:
space:
mode:
authorDeven Bansod <devenbansod.bits@gmail.com>2018-12-20 22:34:01 +0530
committerDeven Bansod <devenbansod.bits@gmail.com>2018-12-20 22:34:01 +0530
commitd046cb2b4bf0a0c072644efe391c0cdbd3cfd7f4 (patch)
tree81b532235b1a04d0d08580257772c82150861901 /tests/Parser
parent5e8dbcf3ff0d1123efd731863083a9af539e5992 (diff)
downloadsql-parser-d046cb2b4bf0a0c072644efe391c0cdbd3cfd7f4.zip
sql-parser-d046cb2b4bf0a0c072644efe391c0cdbd3cfd7f4.tar.gz
sql-parser-d046cb2b4bf0a0c072644efe391c0cdbd3cfd7f4.tar.bz2
Fix building of RenameStatement
* The nuance here is that we don't treat `RENAME TABLE` as the keyword of the clause, only `RENAME` is considered. * That's why we can't use `Statement::$CLAUSES` directly here (even with value of `3` (see `Statement::$CLAUSES`)) * Providing an overriden definition of `build()` in RenameStatement Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'tests/Parser')
0 files changed, 0 insertions, 0 deletions