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

debug

parent af3f53d8
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ def tablesInQuery(query): ...@@ -24,7 +24,7 @@ def tablesInQuery(query):
if cur.lower() == "from": if cur.lower() == "from":
state = "first table" state = "first table"
continue continue
if cur.lower() in ["where", "on"]: if "where" in cur.lower():
break break
if state == "first table": if state == "first table":
if "(" not in cur and "join" in cur: if "(" not in cur and "join" in cur:
......
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