Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
atgreen committed Jan 25, 2019
1 parent 1fbfca7 commit 5d31200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
(:sqlite3 1))
:item-maker (ecase db
(:sqlite3
#'(lambda () (dbi:connect :sqlite3 :database-name sqlite-db-filename))))
:item-destroyer #'(lambda (item) (dbi:disconnect item))))
#'(lambda () (print "*** CREATING CONNECTION ***") (dbi:connect :sqlite3 :database-name sqlite-db-filename))))
:item-destroyer #'(lambda (item) (print "*** DESTROYING CONNECTION ***") (dbi:disconnect item))))

(pooler:with-pool (db *pool*)
(when fresh
Expand Down

0 comments on commit 5d31200

Please sign in to comment.