rows.Close()

systemlib
mattn 2014-11-14 02:21:49 +09:00
parent e5819757da
commit 12a1c0f435
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }