X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fexpressions.lisp;h=7a8c11a6b226d1202ad6158830a4f0a8fd701676;hb=2e0b55b85284a3019b5c81bb97ec17da1604e5e4;hp=cb8046fb09b6fb9e38bfbac3a14d8f38a8c4bf13;hpb=7df5c123266275ba2666cc2637d9a30d4b65d6df;p=clsql.git 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))