Connections obtained with Database#using_connection
should not be auto released
#35
Labels
Database#using_connection
should not be auto released
#35
This code:
fails with a
closed stream (IO::Error)
exception on the third call toexec
. From a quick code inspection,#exec
always returns the connection to the pool, regardless of how it was obtained, but I'd expect the connection to be held in a checkout state when used inside theusing_connection
block.crystal-db version: 0.3.3
crystal-pg version: 0.13.1
The text was updated successfully, but these errors were encountered: