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

Reset baton when connection is returned to the pool #68

Merged
merged 2 commits into from
Aug 18, 2023
Merged

Reset baton when connection is returned to the pool #68

merged 2 commits into from
Aug 18, 2023

Conversation

haaawk
Copy link
Contributor

@haaawk haaawk commented Aug 18, 2023

Fixes #60

We can't store sql for prepare statement because
Hrana only remembers them as long as the baton is being used.
Prepared statements can be used outside the transaction and in such case baton is not used.

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
Fixes #60

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
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.

Driver didn't handle hrana stream expiration, will error every ~300s of idle time
1 participant