Commit c123cf50 authored by Haoyu Z's avatar Haoyu Z
Browse files

debug

parent ea092031
......@@ -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"
......
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