From: Kevin M. Rosenberg Date: Sat, 3 May 2003 22:27:58 +0000 (+0000) Subject: r4779: Auto commit for Debian build X-Git-Tag: v2006ac.2~219 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=24a1e4fe6090c590f6d2d0f2f531f506a7682bd9;p=umlisp.git r4779: Auto commit for Debian build --- diff --git a/sql-classes.lisp b/sql-classes.lisp index 4961295..c0747f9 100644 --- a/sql-classes.lisp +++ b/sql-classes.lisp @@ -7,7 +7,7 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: sql-classes.lisp,v 1.52 2003/05/03 22:10:15 kevin Exp $ +;;;; $Id: sql-classes.lisp,v 1.53 2003/05/03 22:27:58 kevin Exp $ ;;;; ;;;; This file, part of UMLisp, is ;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D. @@ -62,8 +62,9 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" (if distinct "distinct " "") fields table)) (%%order (if order (format nil " order by ~{~:@(~A~) ~(~A~)~^,~}" order) "")) (%%lrl (format nil " and ~:@(~A~)<=" lrl)) - (%%where (format nil " where ~:@(~A~)~A" (quote where-name) - (if like " like " "=")))) + (%%where (when where-name + (format nil " where ~:@(~A~)~A" where-name + (if like " like " "="))))) `(concatenate 'string ,%%fields