mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Drop do_close in pool statements
This commit is contained in:
parent
7a19a5da87
commit
0780916845
2 changed files with 0 additions and 7 deletions
|
@ -9,9 +9,6 @@ module DB
|
|||
super
|
||||
end
|
||||
|
||||
protected def do_close
|
||||
end
|
||||
|
||||
# builds a statement over a real connection
|
||||
private def build_statement : Statement
|
||||
conn = @db.pool.checkout
|
||||
|
|
|
@ -9,10 +9,6 @@ module DB
|
|||
super
|
||||
end
|
||||
|
||||
protected def do_close
|
||||
# unprepared statements do not need to be release in each connection
|
||||
end
|
||||
|
||||
# builds a statement over a real connection
|
||||
private def build_statement : Statement
|
||||
conn = @db.pool.checkout
|
||||
|
|
Loading…
Reference in a new issue