Skip to content

Commit

Permalink
Merge pull request apache#866 from vrischmann/master
Browse files Browse the repository at this point in the history
reset the context when calling Query.reset
  • Loading branch information
Zariel authored Mar 7, 2017
2 parents 1f87449 + 8dd0437 commit 4dd55dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ func (q *Query) reset() {
q.defaultTimestamp = false
q.disableSkipMetadata = false
q.disableAutoPage = false
q.context = nil
}

// Iter represents an iterator that can be used to iterate over all rows that
Expand Down

0 comments on commit 4dd55dd

Please sign in to comment.