Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions examples/pagination/cities.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ func selectPaging(
if !res.NextResultSet(ctx) || !res.HasNextRow() {
empty = true

if err := ctx.Err(); err != nil {
return err
}

return res.Err()
Comment thread
asmyasnikov marked this conversation as resolved.
Outdated
}
var addr string
Expand Down
Loading