mirror of https://github.com/mattn/go-sqlite3.git
fix race
This commit is contained in:
parent
911f1c4fa6
commit
58ed4a0810
|
@ -1048,7 +1048,6 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
|
||||||
if rv != C.SQLITE_OK {
|
if rv != C.SQLITE_OK {
|
||||||
return rc.s.c.lastError()
|
return rc.s.c.lastError()
|
||||||
}
|
}
|
||||||
rc.s.mu.Unlock()
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue