use variable db

This commit is contained in:
Yasuhiro Matsumoto 2017-02-16 15:57:29 +09:00
parent d03b7b541f
commit 2acfafad58
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ func (s *SQLiteStmt) query(ctx context.Context, args []namedValue) (driver.Rows,
select {
case <-rows.done:
default:
C.sqlite3_interrupt(s.c.db)
C.sqlite3_interrupt(db)
rows.Close()
}
case <-rows.done: