X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fpool.lisp;h=a153c916707aba2a31ff2b7b0ceabc5f248a6939;hp=8d73e67dab40a612306629cea582c91b5a76b30b;hb=326e9dc298298431a7122ed57d14a60bccd95923;hpb=ef7951fc3ed3b05c6f98d5723753a53f870eb8ff diff --git a/sql/pool.lisp b/sql/pool.lisp index 8d73e67..a153c91 100644 --- a/sql/pool.lisp +++ b/sql/pool.lisp @@ -35,7 +35,7 @@ -(defun acquire-from-pool (connection-spec database-type &optional pool encoding) +(defun acquire-from-pool (connection-spec database-type &optional pool (encoding *default-encoding*)) "Try to find a working database connection in the pool or create a new one if needed. This performs 1 query against the DB to ensure it's still valid. When possible (postgres, mssql) that query will be a reset