Skip to content

sqlpage.run_sql opens a new database connection instead of reusing the connection over which the current request is being handled #338

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

Closed
lovasoa opened this issue May 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lovasoa
Copy link
Collaborator

lovasoa commented May 23, 2024

sqlpage.run_sql fetches a new database connection from the connection pool instead of reusing the connection over which the current request is being handled

This has implications such as

  • temporary tables not being accessible
  • attached databases not being accessible
  • performance

for details, see : #336

@lovasoa lovasoa added the bug Something isn't working label May 23, 2024
@lovasoa lovasoa closed this as completed in 8b700be Jun 2, 2024
@lovasoa
Copy link
Collaborator Author

lovasoa commented Jun 10, 2024

@guspower @vlasky v0.23 was released with the new single-connection setup for run_sql. Can you test and confirm it works as expected in your applications ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant