projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9312: * sql/relations.lisp: Remove functions since they don't support
[clsql.git]
/
db-odbc
/
odbc-api.lisp
diff --git
a/db-odbc/odbc-api.lisp
b/db-odbc/odbc-api.lisp
index e34706cea9bf9cf7dd2c9ea9d635f2c1a72df8fc..befda147934916cbcd33c783ee82f93f44635875 100644
(file)
--- a/
db-odbc/odbc-api.lisp
+++ b/
db-odbc/odbc-api.lisp
@@
-113,11
+113,11
@@
as possible second argument) to the desired representation of date/time/timestam
(progn ,result-code ,@body))
(#.$SQL_INVALID_HANDLE
(error
(progn ,result-code ,@body))
(#.$SQL_INVALID_HANDLE
(error
- 'clsql-base
-sys
:clsql-odbc-error
+ 'clsql-base:clsql-odbc-error
:odbc-message "Invalid handle"))
(#.$SQL_STILL_EXECUTING
(error
:odbc-message "Invalid handle"))
(#.$SQL_STILL_EXECUTING
(error
- 'clsql-base
-sys
:clsql-odbc-error
+ 'clsql-base:clsql-odbc-error
:odbc-message "Still executing"))
(#.$SQL_ERROR
(multiple-value-bind (error-message sql-state)
:odbc-message "Still executing"))
(#.$SQL_ERROR
(multiple-value-bind (error-message sql-state)
@@
-125,7
+125,7
@@
as possible second argument) to the desired representation of date/time/timestam
(or ,hdbc +null-handle-ptr+)
(or ,hstmt +null-handle-ptr+))
(error
(or ,hdbc +null-handle-ptr+)
(or ,hstmt +null-handle-ptr+))
(error
- 'clsql-base
-sys
:clsql-odbc-error
+ 'clsql-base:clsql-odbc-error
:odbc-message error-message
:sql-state sql-state)))
(otherwise
:odbc-message error-message
:sql-state sql-state)))
(otherwise
@@
-663,6
+663,7
@@
as possible second argument) to the desired representation of date/time/timestam
;; FIXME: this could be better optimized for types which use READ-FROM-STRING above
(if (and (or (eq result-type t) (eq result-type :string))
;; FIXME: this could be better optimized for types which use READ-FROM-STRING above
(if (and (or (eq result-type t) (eq result-type :string))
+ value
(not (stringp value)))
(write-to-string value)
value)))
(not (stringp value)))
(write-to-string value)
value)))