-
Notifications
You must be signed in to change notification settings - Fork 916
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
Support multiple results sets for go 1.8 #532
Conversation
Consider adding 1.8 or tip to .travis with failures allowed. Current code here doesn't compile under 1.8. Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion. nextresultset_test.go, line 26 at r1 (raw file):
HasNextResultSet Comments from Reviewable |
Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion. nextresultset_test.go, line 26 at r1 (raw file):
|
Yes, it does compile under 1.8. See "TestMultiple" which only appears in the travis tip builds: https://travis-ci.org/lib/pq/jobs/172536052 Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion. nextresultset_test.go, line 26 at r1 (raw file):
|
Renamed the test file because it may be used for the other 1.8 features. Added tests to ensure that extra, unused results don't change future results. |
Please don't use reviewable. |
Ah, I was under the misapprehension that the database/sql.Rows was an interface, but it is not. LGTM |
Simply marking this as related to #531 |
@kardianos
This change is