forked from mirror/go-sqlite3
remove duplicated Close
since there's one already at line 51
This commit is contained in:
parent
0fa27b5cb0
commit
94efba9292
|
@ -55,7 +55,6 @@ func main() {
|
||||||
rows.Scan(&id, &name)
|
rows.Scan(&id, &name)
|
||||||
fmt.Println(id, name)
|
fmt.Println(id, name)
|
||||||
}
|
}
|
||||||
rows.Close()
|
|
||||||
|
|
||||||
stmt, err = db.Prepare("select name from foo where id = ?")
|
stmt, err = db.Prepare("select name from foo where id = ?")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue