Skip to content

Commit

Permalink
fix typo in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rittneje committed Dec 17, 2019
1 parent 590d44c commit 14a3025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqlite3.go
Original file line number Diff line number Diff line change
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

0 comments on commit 14a3025

Please sign in to comment.