X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fexpressions.lisp;h=b54029e4b727121c4d299ab888f00cd4f5950eb6;hb=4c88467c8be43c3e7e72ea362390620c669de117;hp=d78e3860ff930bde4ec35c8a859593efa2118404;hpb=9fffc97dee2d245514c86f17cf241521b58b094e;p=clsql.git diff --git a/sql/expressions.lisp b/sql/expressions.lisp index d78e386..b54029e 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -249,7 +249,7 @@ ;; the next loop simply emits each sub-expression with the appropriate number of ;; parens and operators (flet ((trim (sub) - (string-trim '(#\space #\newline #\return #\tab #\no-break-space) + (string-trim +whitespace-chars+ (with-output-to-string (*sql-stream*) (output-sql sub database))))) (let ((str-subs (loop for sub in sub-expressions