aboutsummaryrefslogtreecommitdiff
path: root/sqlite3.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3.go')
-rw-r--r--sqlite3.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlite3.go b/sqlite3.go
index 257d64f..abfc2fe 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -210,6 +210,7 @@ func (c *SQLiteConn) Query(query string, args []driver.Value) (driver.Rows, erro
if tail == "" {
return rows, nil
}
+ rows.Close()
s.Close()
query = tail
}