diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-02-16 15:57:29 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-02-16 15:57:29 +0900 |
commit | 2acfafad5870400156f6fceb12852c281cbba4d5 (patch) | |
tree | 83315f736c789a5a503a2321dce10805b9dc6edf | |
parent | update to 2017 (diff) | |
download | golite-2acfafad5870400156f6fceb12852c281cbba4d5.tar.gz golite-2acfafad5870400156f6fceb12852c281cbba4d5.tar.xz |
use variable db
-rw-r--r-- | sqlite3.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |