projects
/
umlisp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9596: Automated commit for Debian build of umlisp upstream-version-4.1.0
[umlisp.git]
/
sql.lisp
diff --git
a/sql.lisp
b/sql.lisp
index d3132ab191e0882c3dc6f9ba048e2dda0122ccee..7d2b0c6d652171eb9c6e1146986e6ff4776a3960 100644
(file)
--- a/
sql.lisp
+++ b/
sql.lisp
@@
-2,15
+2,15
@@
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
-;;;; Name:
sql.lisp
-;;;; Purpose:
Low-level SQL routines data for UMLisp
-;;;; Author:
Kevin M. Rosenberg
-;;;;
Date Star
ted: Apr 2000
+;;;; Name: sql.lisp
+;;;; Purpose: Low-level SQL routines data for UMLisp
+;;;; Author: Kevin M. Rosenberg
+;;;;
Crea
ted: Apr 2000
;;;;
;;;; $Id$
;;;;
;;;; This file, part of UMLisp, is
;;;;
;;;; $Id$
;;;;
;;;; This file, part of UMLisp, is
-;;;; Copyright (c) 2000-200
3
by Kevin M. Rosenberg, M.D.
+;;;; Copyright (c) 2000-200
4
by Kevin M. Rosenberg, M.D.
;;;;
;;;; UMLisp users are granted the rights to distribute and use this software
;;;; as governed by the terms of the GNU General Public License.
;;;;
;;;; UMLisp users are granted the rights to distribute and use this software
;;;; as governed by the terms of the GNU General Public License.
@@
-19,10
+19,8
@@
(in-package #:umlisp)
(defvar +umls-sql-map+
(in-package #:umlisp)
(defvar +umls-sql-map+
- '((:2002AD . "KUMLS2002AD") (:2003AA . "KUMLS2003AA")
- (:2003AB . "KUMLS2003AB") (:2003AC . "KUMLS2003AC")
- (:2004AA . "KUMLS2004AA")))
-(defvar +default-umls-db+ :2003AC)
+ '((:2004aa . "KUMLS2004AA")))
+(defvar +default-umls-db+ :2004aa)
(defun lookup-db-name (db)
(defun lookup-db-name (db)
@@
-88,7
+86,7
@@
(sql-execute stmt conn)))
(defun sql-query (cmd conn &key (result-types :auto))
(sql-execute stmt conn)))
(defun sql-query (cmd conn &key (result-types :auto))
- (clsql:query cmd :database conn :result-types result-types))
+ (clsql:query cmd :database conn :result-types result-types
:field-names nil
))
(defun sql-execute (cmd conn)
(clsql:execute-command cmd :database conn))
(defun sql-execute (cmd conn)
(clsql:execute-command cmd :database conn))