-
Notifications
You must be signed in to change notification settings - Fork 478
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
Creating empty constructor for rowset #1086
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add a test creating an empty rowset and using it in some trivial way, e.g.
CHECK( empty.begin() == empty.end() );
? It really bothers me that the previous problem wasn't detected.
TIA!
I will add a test. Regarding the "Previous problem" - I didn't catch a problem. I have tested both the previous code and this version using the test code below which might not be short and sweet, but at least to me it proves that it works. In both cases it compiled and executed as expected - I have it in a docker container, if you want to see it for yourself.
|
Is it possible to re-run the tests? - Something went wrong when fetching from a Ubuntu repo... |
Thanks, should I merge this or will you add |
I've just tested and added it - now waiting for the automated tests to succeed. |
I forgot about the test, sorry - I've added it now. |
Thanks again for you work! I'll merge it in a moment. |
This PR allows the creation of an empty
rowset
as per #1057