X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fexpressions.lisp;h=57afac1b391084aaf658ec4d3511d6573ceaeb2e;hb=11261eca2090842638d1b3b7c12b7cc1f6d58f09;hp=766da12e6a3c9dba19b628aa608617d186c4da76;hpb=e75e62c7127f074ef2b2add3d2850c42dfaf590e;p=clsql.git diff --git a/sql/expressions.lisp b/sql/expressions.lisp index 766da12..57afac1 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -597,7 +597,8 @@ uninclusive, and the args from that keyword to the end." :test #'ident-table-equal)) database)) (string (write-string from *sql-stream*)) - (t (output-sql from database))))) + (t (let ((*in-subselect* t)) + (output-sql from database)))))) (when inner-join (write-string " INNER JOIN " *sql-stream*) (output-sql inner-join database))