Merge pull request #227 from gmarik/patch-1

remove duplicated Close
This commit is contained in:
mattn
2015-08-17 08:47:45 +09:00

View File

@@ -55,7 +55,6 @@ func main() {
rows.Scan(&id, &name)
fmt.Println(id, name)
}
rows.Close()
stmt, err = db.Prepare("select name from foo where id = ?")
if err != nil {