mirror of https://github.com/mattn/go-sqlite3.git
use variable db
This commit is contained in:
parent
d03b7b541f
commit
2acfafad58
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue