X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fdatabase.lisp;fp=sql%2Fdatabase.lisp;h=285d3e269b237e4d6817854465f7d01cfe78b035;hp=706ccbf7cc1c323448a2c8732ddf8e4a2647d6a9;hb=1c1b8e0e9c08433f730352f4955d56feccca0488;hpb=4e51fc4d6755b1d32f3b2f7ebb43eb73ff96bbbb diff --git a/sql/database.lisp b/sql/database.lisp index 706ccbf..285d3e2 100644 --- a/sql/database.lisp +++ b/sql/database.lisp @@ -63,7 +63,9 @@ error is signalled." :message (format nil "There exists ~A database called ~A." (if (zerop count) "no" "more than one") - database))))))) + database))))) + (null + (error "A database must be specified rather than NIL.")))) (defun connect (connection-spec