Fix compile error (#1042)

engine.ShowSQL is a method, not variable anymore
This commit is contained in:
qianguozheng 2018-08-09 21:07:07 +08:00 committed by Lunny Xiao
parent 1eee8a367e
commit 0b0a419f59
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func main() {
fmt.Println(err)
return
}
engine.ShowSQL = true
engine.ShowSQL(true)
fmt.Println(engine)
test(engine)
fmt.Println("test end")