Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in doc comment for Open #770

Merged
merged 1 commit into from Dec 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions sqlite3.go
Expand Up @@ -897,7 +897,7 @@ func errorString(err Error) string {
// - rwc
// - memory
//
// shared
// cache
// SQLite Shared-Cache Mode
// https://www.sqlite.org/sharedcache.html
// Values:
Expand Down Expand Up @@ -1891,7 +1891,7 @@ func (s *SQLiteStmt) exec(ctx context.Context, args []namedValue) (driver.Result
resultCh <- result{r, err}
}()
select {
case rv := <- resultCh:
case rv := <-resultCh:
return rv.r, rv.err
case <-ctx.Done():
select {
Expand Down Expand Up @@ -1992,7 +1992,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
resultCh <- rc.nextSyncLocked(dest)
}()
select {
case err := <- resultCh:
case err := <-resultCh:
return err
case <-rc.ctx.Done():
select {
Expand Down