From: Kevin M. Rosenberg Date: Sat, 3 May 2003 20:20:31 +0000 (+0000) Subject: r4762: Auto commit for Debian build X-Git-Tag: v2006ac.2~236 X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=commitdiff_plain;h=7c9ee6de3bd57576c4f27f1a9aca2ec8ffb03e3b r4762: Auto commit for Debian build --- diff --git a/sql-classes.lisp b/sql-classes.lisp index 9f8c6b1..d3fdda4 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.35 2003/05/03 20:18:40 kevin Exp $ +;;;; $Id: sql-classes.lisp,v 1.36 2003/05/03 20:20:31 kevin Exp $ ;;;; ;;;; This file, part of UMLisp, is ;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D. @@ -40,14 +40,11 @@ (destructuring-bind ,fields tuple ,@body)))) `(unless (and ,where-name (not ,where-value)) - (let ((tuple (car ))) - (loop for tuple in - (umlisp-query ,table ,fields ,srl ,where-name ,where-value - :lrlname ,lrlname :single ,single - :distinct ,distinct :order ,order :like ,like) - collect - (destructuring-bind ,fields tuple - ,@body)))))) + (loop for tuple in + (umlisp-query ,table ,fields ,srl ,where-name ,where-value + :lrlname ,lrlname :single ,single :distinct ,distinct :order ,order :like ,like) + collect (destructuring-bind ,fields tuple + ,@body))))) (defmacro umlisp-query (table fields srl where-name where-value &key (lrlname "KCUILRL") single distinct order like)