From 2acfafad5870400156f6fceb12852c281cbba4d5 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 16 Feb 2017 15:57:29 +0900 Subject: [PATCH] use variable db --- sqlite3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3.go b/sqlite3.go index f5699e4..cbe3964 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -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: