diff options
| author | Robert Nix <com.github@rnix.org> | 2013-06-17 10:56:03 -0300 |
|---|---|---|
| committer | Robert Nix <com.github@rnix.org> | 2013-06-17 10:56:03 -0300 |
| commit | 7d0fb12663479da1dd8b1d9a2ee97527c6c51863 (patch) | |
| tree | e3f29b658a7f4766f0cfd96ea33fc90ad00d4944 /sqlparse/sql.py | |
| parent | 91a9efe0511ab5b1c769d90c04b8b329fe3173ad (diff) | |
| download | sqlparse-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
