From bdda316b7f2d60764f6bbbc863d657376ae3f6ae Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 3 May 2003 20:38:57 +0000 Subject: [PATCH] r4769: Auto commit for Debian build --- sql-classes.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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") -- 2.34.1