X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fexpressions.lisp;fp=sql%2Fexpressions.lisp;h=7a8c11a6b226d1202ad6158830a4f0a8fd701676;hp=cb8046fb09b6fb9e38bfbac3a14d8f38a8c4bf13;hb=3b7cb72a2117fe5e4599da811c9e2821de02824b;hpb=fef88dce7304920c0a87ac28ad81126802ccbfcf diff --git a/sql/expressions.lisp b/sql/expressions.lisp index cb8046f..7a8c11a 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -1116,7 +1116,7 @@ uninclusive, and the args from that keyword to the end." (defmethod database-identifier ( name &optional database find-class-p &aux cls) - "A function that takes whatever you give it, recurively coerces it, + "A function that takes whatever you give it, recursively coerces it, and returns a database-identifier. (escaped-database-identifiers *any-reasonable-object*) should be called to @@ -1139,6 +1139,7 @@ uninclusive, and the args from that keyword to the end." a new db-id with that string as escaped" (let ((s (sql-output id database))) (make-instance '%database-identifier :escaped s :unescaped s)))) + (setf name (dequote name)) (etypecase name (null nil) (string (%make-database-identifier name database))