From: Kevin M. Rosenberg Date: Sat, 3 May 2003 20:38:57 +0000 (+0000) Subject: r4769: Auto commit for Debian build X-Git-Tag: v2006ac.2~229 X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=commitdiff_plain;h=bdda316b7f2d60764f6bbbc863d657376ae3f6ae r4769: Auto commit for Debian build --- diff --git a/sql-classes.lisp b/sql-classes.lisp index db2eada..549d06b 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.42 2003/05/03 20:38:20 kevin Exp $ +;;;; $Id: sql-classes.lisp,v 1.43 2003/05/03 20:38:57 kevin Exp $ ;;;; ;;;; This file, part of UMLisp, is ;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D. @@ -65,8 +65,8 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" `(concatenate 'string ,%%fields - ,@(when where-name (list %%where)) - (if where-name + ,@(when %%where (list %%where)) + (if ,where-name (format nil (if (stringp ,where-value) (if ,like " like '%~A%'" "='~A'") "=~A")