This commit is contained in:
shoopea 2019-05-10 17:29:14 +08:00
parent ae5d619cfb
commit a20a79059a

2
sql.go
View File

@ -28,7 +28,7 @@ func initDB() {
err = rows.Scan(&name)
failOnError(err, "initDB : show tables listing")
_, err = tx.Exec("drop table " + name)
_, err = db.Exec("drop table " + name)
failOnError(err, "initDB : drop table "+name)
}
err = rows.Err()