X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fexpressions.lisp;h=c7236a454f56cb4c4c08a102c4ee61381c162996;hb=ac8069e4f04d9c4faa41664cb8ee1ec83df0e67f;hp=d09b154e0ef99907195f6b41f078f420e7c95283;hpb=78da4831fd20e83f64c74fd6140ed6e8ee73a495;p=clsql.git diff --git a/sql/expressions.lisp b/sql/expressions.lisp index d09b154..c7236a4 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -801,9 +801,9 @@ uninclusive, and the args from that keyword to the end." (declaim (inline listify)) (defun listify (x) - (if (atom x) - (list x) - x)) + (if (listp x) + x + (list x))) (defmethod output-sql ((stmt sql-create-table) database) (flet ((output-column (column-spec)