projects
/
umlisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6316cc2
)
r4787: Auto commit for Debian build
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sun, 4 May 2003 01:18:10 +0000
(
01:18
+0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sun, 4 May 2003 01:18:10 +0000
(
01:18
+0000)
sql-classes.lisp
patch
|
blob
|
history
diff --git
a/sql-classes.lisp
b/sql-classes.lisp
index b341e458a9edccb5758cc77c1db022a508a38f9c..f76d6ecbf957a3909b3ca27e480b65d23aa118a4 100644
(file)
--- a/
sql-classes.lisp
+++ b/
sql-classes.lisp
@@
-7,7
+7,7
@@
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: sql-classes.lisp,v 1.6
0 2003/05/04 00:46:33
kevin Exp $
+;;;; $Id: sql-classes.lisp,v 1.6
1 2003/05/04 01:18:10
kevin Exp $
;;;;
;;;; This file, part of UMLisp, is
;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D.
;;;;
;;;; This file, part of UMLisp, is
;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D.
@@
-55,7
+55,8
@@
&key (lrl "KCUILRL") distinct single
order like)
&body body)
&key (lrl "KCUILRL") distinct single
order like)
&body body)
- (let ((value (gensym)))
+ (let ((value (gensym))
+ (eval-fields (cadr fields)))
(if single
`(let ((,value ,where-value))
(when ,value
(if single
`(let ((,value ,where-value))
(when ,value
@@
-64,7
+65,7
@@
:distinct ,distinct :order ,order
:like ,like))))
(when tuple
:distinct ,distinct :order ,order
:like ,like))))
(when tuple
- (destructuring-bind ,fields tuple
+ (destructuring-bind ,
eval-
fields tuple
,@body)))))
`(let ((,value ,where-value))
(when ,value
,@body)))))
`(let ((,value ,where-value))
(when ,value
@@
-72,7
+73,7
@@
(umlisp-query-eval ,table ,fields ,srl ,where-name ,value
:lrl ,lrl :single ,single :distinct ,distinct
:order ,order :like ,like)
(umlisp-query-eval ,table ,fields ,srl ,where-name ,value
:lrl ,lrl :single ,single :distinct ,distinct
:order ,order :like ,like)
- collect (destructuring-bind ,fields tuple
+ collect (destructuring-bind ,
eval-
fields tuple
,@body)))))))
,@body)))))))