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
commit 3dc190a017
1 changed files with 0 additions and 1 deletions

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 {