From 24a1e4fe6090c590f6d2d0f2f531f506a7682bd9 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 3 May 2003 22:27:58 +0000 Subject: [PATCH] r4779: Auto commit for Debian build --- sql-classes.lisp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.34.1