Commit 6c423f2a authored by Haoyu Z's avatar Haoyu Z
Browse files

debug

parent af3f53d8
......@@ -24,7 +24,7 @@ def tablesInQuery(query):
if cur.lower() == "from":
state = "first table"
continue
if cur.lower() in ["where", "on"]:
if "where" in cur.lower():
break
if state == "first table":
if "(" not in cur and "join" in cur:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment