mirror of https://github.com/mattn/go-sqlite3.git
rows.Close()
This commit is contained in:
parent
e5819757da
commit
12a1c0f435
|
@ -210,6 +210,7 @@ func (c *SQLiteConn) Query(query string, args []driver.Value) (driver.Rows, erro
|
||||||
if tail == "" {
|
if tail == "" {
|
||||||
return rows, nil
|
return rows, nil
|
||||||
}
|
}
|
||||||
|
rows.Close()
|
||||||
s.Close()
|
s.Close()
|
||||||
query = tail
|
query = tail
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue