summaryrefslogtreecommitdiff
path: root/sqlparse/sql.py
diff options
context:
space:
mode:
authorRobert Nix <com.github@rnix.org>2013-06-17 10:56:03 -0300
committerRobert Nix <com.github@rnix.org>2013-06-17 10:56:03 -0300
commit7d0fb12663479da1dd8b1d9a2ee97527c6c51863 (patch)
treee3f29b658a7f4766f0cfd96ea33fc90ad00d4944 /sqlparse/sql.py
parent91a9efe0511ab5b1c769d90c04b8b329fe3173ad (diff)
downloadsqlparse-7d0fb12663479da1dd8b1d9a2ee97527c6c51863.tar.gz
Stop parsing tables at first keyword after "from".
Currently, the parser isn't smart enough to acknowledge the end of the from-clause list so keywords as table names will still fail. But in simple tests, this solution works. Best-practice: don't use SQL keywords as table names. :)
Diffstat (limited to 'sqlparse/sql.py')
0 files changed, 0 insertions, 0 deletions