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

Initialize user variables in all MySQL sql scripts. #1425

Open
kentdr opened this issue Mar 14, 2024 · 0 comments
Open

Initialize user variables in all MySQL sql scripts. #1425

kentdr opened this issue Mar 14, 2024 · 0 comments

Comments

@kentdr
Copy link
Member

kentdr commented Mar 14, 2024

Describe the suggested improvement

Is your improvement related to a problem? Please describe.

When the connection string does not specify the ResetConnection setting, values stored in user variables can be preserved between connections when pulled rapidly from the connection pool.

Describe the suggested solution

To mitigate potential bugs related to user variable values being maintained between connections, all user variables should be initialized before they are used in queries.

Describe alternatives you've considered

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant