Skip to content
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

datastore: fixing a query limit bug #1251

Merged
merged 1 commit into from
Apr 21, 2016
Merged

datastore: fixing a query limit bug #1251

merged 1 commit into from
Apr 21, 2016

Conversation

callmehiphop
Copy link
Contributor

Closes #1249

Since migrating to v1beta3 we've changed the way we store the limit value, this causes a bug if the user did not set a query limit when retrieving a large number of results.

@callmehiphop callmehiphop added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: datastore Issues related to the Datastore API. labels Apr 19, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 19, 2016
@stephenplusplus
Copy link
Contributor

LGTM. Is there a test case we can add to cover the situation caused in #1249?

@callmehiphop
Copy link
Contributor Author

@stephenplusplus I think this would obviously be difficult for us to reproduce via e2e tests, so I'll write a unit test.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ea25254 on callmehiphop:query-limit-bug into 55aeb1f on GoogleCloudPlatform:master.

@callmehiphop
Copy link
Contributor Author

@stephenplusplus PTAL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants