projects
/
umlisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8a93f3
)
r4748: Auto commit for Debian build
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 3 May 2003 18:16:16 +0000
(18:16 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 3 May 2003 18:16:16 +0000
(18:16 +0000)
sql-classes.lisp
patch
|
blob
|
history
diff --git
a/sql-classes.lisp
b/sql-classes.lisp
index f1079904ed113cfb2e775c2208fac7946b46b138..b3994ef16a580fa4eb621eb725aaabf41a65198b 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.2
2 2003/05/03 18:09:50
kevin Exp $
+;;;; $Id: sql-classes.lisp,v 1.2
3 2003/05/03 18:16:16
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.
@@
-101,8
+101,9
@@
is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS"
(string-append ls (format nil " and KCUILRL <= ~d" srl)))
(string-append ls " limit 1")
(awhen (car (mutex-sql-query ls))
(string-append ls (format nil " and KCUILRL <= ~d" srl)))
(string-append ls " limit 1")
(awhen (car (mutex-sql-query ls))
- (make-instance 'ucon :cui cui :pfstr (car it)
- :lrl (ensure-integer (cadr it)))))))
+ (destructuring-bind (kpfstr kcuilrl)
+ (make-instance 'ucon :cui cui :pfstr kpfstr
+ :lrl (ensure-integer kcuilrl)))))))
(defun find-ucon-cui-sans-pfstr (cui &key (srl *current-srl*))
"Find ucon for a cui"
(defun find-ucon-cui-sans-pfstr (cui &key (srl *current-srl*))
"Find ucon for a cui"