diff options
author | mattn <mattn.jp@gmail.com> | 2017-03-05 20:44:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-05 20:44:09 +0900 |
commit | 55cd56d7edb233f4a251a8821232e4cc6084e3d2 (patch) | |
tree | 6c075e6971ff66ff98a6c6e8e31f5509de68aeb6 /sqlite3.go | |
parent | fix test (diff) | |
parent | [vtable] Rename Context to SQLiteContext (diff) | |
download | golite-55cd56d7edb233f4a251a8821232e4cc6084e3d2.tar.gz golite-55cd56d7edb233f4a251a8821232e4cc6084e3d2.tar.xz |
Merge pull request #347 from DataDog/dd/vtable
Add Go API for virtual tables
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -627,11 +627,11 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) { // Close the connection. func (c *SQLiteConn) Close() error { - deleteHandles(c) rv := C.sqlite3_close_v2(c.db) if rv != C.SQLITE_OK { return c.lastError() } + deleteHandles(c) c.db = nil runtime.SetFinalizer(c, nil) return nil |