X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fexpressions.lisp;h=de8124d40432645443244ba0ea79e8b5c3b90b23;hb=e132f72fe34b078ca642ec99d1415f6b9511d598;hp=a64f9bf68b3cbcc6e0d75ec0ee11a45c8de30053;hpb=b9307c6d87a2d84d2a2b47891b753c4fc1a13b13;p=clsql.git diff --git a/sql/expressions.lisp b/sql/expressions.lisp index a64f9bf..de8124d 100644 --- a/sql/expressions.lisp +++ b/sql/expressions.lisp @@ -1,7 +1,7 @@ ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- ;;;; ************************************************************************* ;;;; -;;;; $Id: $ +;;;; $Id$ ;;;; ;;;; Classes defining SQL expressions and methods for formatting the ;;;; appropriate SQL commands. @@ -379,7 +379,8 @@ (with-slots (name args) expr (output-sql name database) - (when args (output-sql args database))) + (let ((*in-subselect* nil)) ;; aboid double parens + (when args (output-sql args database)))) t)