test
This commit is contained in:
parent
ae5d619cfb
commit
a20a79059a
2
sql.go
2
sql.go
@ -28,7 +28,7 @@ func initDB() {
|
|||||||
err = rows.Scan(&name)
|
err = rows.Scan(&name)
|
||||||
failOnError(err, "initDB : show tables listing")
|
failOnError(err, "initDB : show tables listing")
|
||||||
|
|
||||||
_, err = tx.Exec("drop table " + name)
|
_, err = db.Exec("drop table " + name)
|
||||||
failOnError(err, "initDB : drop table "+name)
|
failOnError(err, "initDB : drop table "+name)
|
||||||
}
|
}
|
||||||
err = rows.Err()
|
err = rows.Err()
|
||||||
|
Loading…
Reference in New Issue
Block a user