projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r8969: new debian version
[clsql.git]
/
db-aodbc
/
aodbc-sql.lisp
diff --git
a/db-aodbc/aodbc-sql.lisp
b/db-aodbc/aodbc-sql.lisp
index ed7bb249f009ebe43e09df71f98f2a39e8a3c3f7..24a6e47ea34b2fd3d403d0c60e5fd49c98696fb6 100644
(file)
--- a/
db-aodbc/aodbc-sql.lisp
+++ b/
db-aodbc/aodbc-sql.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id
: aodbc-sql.lisp,v 1.2 2003/05/02 03:05:54 kevin Exp
$
+;;;; $Id$
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-16,9
+16,7
@@
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
-(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
-(in-package :clsql-aodbc)
-
+(in-package #:clsql-aodbc)
;; interface foreign library loading routines
(defmethod clsql-base-sys:database-type-library-loaded ((database-type (eql :aodbc)))
;; interface foreign library loading routines
(defmethod clsql-base-sys:database-type-library-loaded ((database-type (eql :aodbc)))
@@
-72,11
+70,11
@@
(setf (database-aodbc-conn database) nil)
t)
(setf (database-aodbc-conn database) nil)
t)
-(defmethod database-query (query-expression (database aodbc-database) types)
+(defmethod database-query (query-expression (database aodbc-database)
result-
types)
#+aodbc-v2
(handler-case
(dbi:sql query-expression :db (database-aodbc-conn database)
#+aodbc-v2
(handler-case
(dbi:sql query-expression :db (database-aodbc-conn database)
- :types types)
+ :types
result-
types)
(error ()
(error 'clsql-sql-error
:database database
(error ()
(error 'clsql-sql-error
:database database
@@
-101,8
+99,9
@@
(types nil :type cons)
(full-set nil :type boolean))
(types nil :type cons)
(full-set nil :type boolean))
-(defmethod database-query-result-set (query-expression (database aodbc-database)
- &key full-set types)
+(defmethod database-query-result-set ((query-expression string)
+ (database aodbc-database)
+ &key full-set result-types)
#+aodbc-v2
(handler-case
(multiple-value-bind (query column-names)
#+aodbc-v2
(handler-case
(multiple-value-bind (query column-names)
@@
-111,11
+110,11
@@
:row-count nil
:column-names t
:query t
:row-count nil
:column-names t
:query t
- :types types
+ :types
result-
types
)
(values
(make-aodbc-result-set :query query :full-set full-set
)
(values
(make-aodbc-result-set :query query :full-set full-set
- :types types)
+ :types
result-
types)
(length column-names)
nil ;; not able to return number of rows with aodbc
))
(length column-names)
nil ;; not able to return number of rows with aodbc
))