8000 Use unique var names when computing bindings by josevalim · Pull Request #4625 · elixir-ecto/ecto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use unique var names when computing bindings #4625

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

Merged
merged 1 commit into from
Jun 22, 2025

Conversation

josevalim
Copy link
Member

The previous version of the code emitted the query twice, potentially leading to an infinite loop. The solution is to assign the query to a unique variable, to avoid overlapping variable names leading to wrong runtime counts.

Closes #4621.

The previous version of the code emitted the query twice,
potentially leading to an infinite loop. The solution is
to assign the query to a unique variable, to avoid overlapping
variable names leading to wrong runtime counts.
@josevalim josevalim merged commit 3b2d006 into master Jun 22, 2025
7 checks passed
@josevalim
Copy link
Member Author

💚 💙 💜 💛 ❤️

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.

Memory leak after upgrading from 3.12.6 to 3.13.1
1 participant
0