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

Allow for skipping prepared statements. #13

Open
thezerobit opened this issue May 22, 2021 · 2 comments
Open

Allow for skipping prepared statements. #13

thezerobit opened this issue May 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@thezerobit
Copy link

Prepared statements can live as long as the connection and be reused over and over and then closed much later. In that scenario, it would be nice to be able to allow prepared statements to not be closed in the same function that they are created in.

@ryanrolds
Copy link
Owner

Sorry about not responding sooner. Please provide a test case (example), and I will look into it.

@ryanrolds ryanrolds added the bug Something isn't working label Aug 20, 2023
@thezerobit
Copy link
Author

I've changed jobs since I filed this ticket and no longer have access to the source code. From memory, I think we close the statements on program exit, which is to say, not a simple defer. If you don't care about this case, feel free to close this ticket. I'm not really working in Go at this point, so I'm not going to be able to contribute here.

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

2 participants