Skip to content
Snippets Groups Projects
Commit c123cf50 authored by Haoyu Z's avatar Haoyu Z
Browse files

debug

parent ea092031
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@ def tablesInQuery(query):
if cur.lower() == "from":
state = "first table"
continue
if cur.lower() in ["where", "on"]:
break
if state == "first table":
if "(" not in cur and "join" in cur:
state = "second table"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment