From: Kevin M. Rosenberg Date: Sat, 3 May 2003 20:32:40 +0000 (+0000) Subject: r4765: Auto commit for Debian build X-Git-Tag: v2006ac.2~233 X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=commitdiff_plain;h=4ff5c6265dbda842ccbccadb0138999792be3f74 r4765: Auto commit for Debian build --- diff --git a/sql-classes.lisp b/sql-classes.lisp index 5a91238..d1dcc91 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.38 2003/05/03 20:29:40 kevin Exp $ +;;;; $Id: sql-classes.lisp,v 1.39 2003/05/03 20:32:40 kevin Exp $ ;;;; ;;;; This file, part of UMLisp, is ;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D. @@ -71,8 +71,8 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" ,where-name ,where-value) "") (if ,srl (format nil ,%%lrl ,srl) "") - ,%%order - (if ,single " limit 1" "")))) + ,@(when %%order (list %%order)) + ,@(when ,single (" limit 1"))))) (defun query-string (table fields &optional srl where-name where-value &key (lrlname "KCUILRL") single distinct order like)