X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fpool.cl;h=14efa2326ddbc6131e2faeb5a7967f3eeeab0e85;hb=b92e0259d32da34329245e9ed96f31dc52d04d8b;hp=298f1e370890c2d8ad56b59ee3270bc14dd8fdcc;hpb=d302d2db4f7ff7a31bce893e31aecbc2a84a162f;p=clsql.git diff --git a/sql/pool.cl b/sql/pool.cl index 298f1e3..14efa23 100644 --- a/sql/pool.cl +++ b/sql/pool.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Apr 2002 ;;;; -;;;; $Id: pool.cl,v 1.1 2002/04/27 20:58:11 kevin Exp $ +;;;; $Id: pool.cl,v 1.2 2002/04/28 00:50:17 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -28,10 +28,10 @@ (defun find-or-create-conn-vector (connection-spec database-type) "Find connection vector in hash table, creates a new conn-vector if not found" (let* ((key (list connection-spec database-type)) - (conn-vector (gethash *db-pool* key))) + (conn-vector (gethash key *db-pool*))) (unless conn-vector (setq conn-vector (make-conn-vector)) - (setf (gethash *db-pool* key) conn-vector)) + (setf (gethash key *db-pool*) conn-vector)) conn-vector)) (defun acquire-from-pool (connection-spec database-type)