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

fix SQLCompiler.collection_name crash on QuerySet.update() with MTI #166

Conversation

WaVEV
Copy link
Collaborator

@WaVEV WaVEV commented Oct 18, 2024

fixes #165

@WaVEV WaVEV requested a review from timgraham October 18, 2024 03:49
@WaVEV WaVEV force-pushed the bugfix-QuerySet.update()-with-MTI-crashes-SQLCompiler.collection_name-with-StopIteration branch from 7d6356b to 6ae3c77 Compare October 18, 2024 03:59
@timgraham timgraham changed the title Fix base collection method to each kind of compiler. fix SQLCompiler.collection_name crash on QuerySet.update() with MTI Oct 21, 2024
@timgraham timgraham force-pushed the bugfix-QuerySet.update()-with-MTI-crashes-SQLCompiler.collection_name-with-StopIteration branch from 2f3697d to 1494829 Compare October 21, 2024 13:00
@timgraham timgraham force-pushed the bugfix-QuerySet.update()-with-MTI-crashes-SQLCompiler.collection_name-with-StopIteration branch from 1494829 to b3fd2c4 Compare October 21, 2024 14:31
@timgraham timgraham merged commit b3fd2c4 into mongodb:main Oct 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QuerySet.update() with MTI crashes SQLCompiler.collection_name with StopIteration
3 participants