From 58ed4a0810db4a6757547ca36adf4cf2ffc18fdd Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 30 Aug 2017 19:30:53 +0900 Subject: [PATCH] fix race --- sqlite3.go | 1 - 1 file changed, 1 deletion(-) diff --git a/sqlite3.go b/sqlite3.go index 506a1b3..c345727 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -1048,7 +1048,6 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error { if rv != C.SQLITE_OK { return rc.s.c.lastError() } - rc.s.mu.Unlock() return nil }