projects
/
umlisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51ca212
)
r4779: Auto commit for Debian build
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 3 May 2003 22:27:58 +0000
(22:27 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 3 May 2003 22:27:58 +0000
(22:27 +0000)
sql-classes.lisp
patch
|
blob
|
history
diff --git
a/sql-classes.lisp
b/sql-classes.lisp
index 4961295c94ba897fd219601a713a45aecf1f8cbf..c0747f9db11c33ae5b3a52a0e5db23e89d8307ef 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.5
2 2003/05/03 22:10:15
kevin Exp $
+;;;; $Id: sql-classes.lisp,v 1.5
3 2003/05/03 22:27:58
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.
@@
-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))
(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
`(concatenate
'string
,%%fields