X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fpool.cl;h=f4d965c01faac49e91257cd7d7fa76c89c3c22dc;hp=6468c56047efb68fd7335f679b913fca82065569;hb=998937376fa6f9ce29bd3c7954fb0ebca91c37d7;hpb=d7ce4b7d7f6582325dfef2d5d251032c7327e3c4 diff --git a/sql/pool.cl b/sql/pool.cl index 6468c56..f4d965c 100644 --- a/sql/pool.cl +++ b/sql/pool.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg, Marc Battyani ;;;; Date Started: Apr 2002 ;;;; -;;;; $Id: pool.cl,v 1.5 2002/05/04 16:21:27 marc.battyani Exp $ +;;;; $Id: pool.cl,v 1.8 2002/09/17 17:16:43 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -48,8 +48,8 @@ (setf (fill-pointer (free-connections pool)) 0) (setf (fill-pointer (all-connections pool)) 0)) -(defun find-or-create-conn-pool (connection-spec database-type) - "Find connection vector in hash table, creates a new conn-vector if not found" +(defun find-or-create-connection-pool (connection-spec database-type) + "Find connection pool in hash table, creates a new connection pool if not found" (let* ((key (list connection-spec database-type)) (conn-pool (gethash key *db-pool*))) (unless conn-pool @@ -61,7 +61,7 @@ (defun acquire-from-pool (connection-spec database-type &optional pool) (unless (typep pool 'conn-pool) - (setf pool (find-or-create-conn-pool connection-spec database-type))) + (setf pool (find-or-create-connection-pool connection-spec database-type))) (acquire-from-conn-pool pool)) (defun release-to-pool (database)