X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fdatabase.lisp;h=285d3e269b237e4d6817854465f7d01cfe78b035;hp=706ccbf7cc1c323448a2c8732ddf8e4a2647d6a9;hb=952ec6d5f4eeec95f2b9b077a49723b51912d38c;hpb=528064c179b6b74f0a9d6a43c42e71de3f0e9a3a 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