Bugfix: don't try to cull connections from an empty pool.

The first step in culling connections was to take a subset of the pool's
connections from index 0 to numToCull. This leads to an error if
numToCull is also zero.
This commit is contained in:
2022-06-04 10:42:54 -05:00
parent 9625ac6a5e
commit 1d7c955805
2 changed files with 11 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "1.0.1"
version = "1.0.2"
author = "Jonathan Bernard"
description = "Lightweight Postgres ORM for Nim."
license = "GPL-3.0"