From c5170f0ecdcb7d7df8b9604f5a0ed4e5a816be77 Mon Sep 17 00:00:00 2001 From: Leon Zhang Date: Thu, 17 Oct 2019 10:44:55 +0800 Subject: [PATCH] fix query-type redundant output bug --- cmd/soar/soar.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/soar/soar.go b/cmd/soar/soar.go index 01d0457..94d634f 100644 --- a/cmd/soar/soar.go +++ b/cmd/soar/soar.go @@ -217,7 +217,6 @@ func main() { case "tables": continue case "query-type": - fmt.Println(syntaxErr) // query type by first key word fmt.Println(ast.QueryType(sql)) continue -- GitLab