projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9211: add *backend-warning-behavior
[clsql.git]
/
tests
/
test-basic.lisp
diff --git
a/tests/test-basic.lisp
b/tests/test-basic.lisp
index 37639e311df1d587e3ce1a6ac18fe1b03b7ccb47..85874a4d4ed3015ed25b2b035117b5666d0de9cd 100644
(file)
--- a/
tests/test-basic.lisp
+++ b/
tests/test-basic.lisp
@@
-45,7
+45,11
@@
(destructuring-bind (int float bigint str) row
(push (list (integerp int)
(typep float 'double-float)
(destructuring-bind (int float bigint str) row
(push (list (integerp int)
(typep float 'double-float)
- (integerp bigint)
+ (if (and (eq :odbc *test-database-type*)
+ (eq :postgresql *test-database-underlying-type*))
+ ;; ODBC/Postgresql returns bigints as strings
+ (stringp bigint)
+ (integerp bigint))
(stringp str))
results))))
((t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t)))
(stringp str))
results))))
((t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t) (t t t t)))
@@
-104,6
+108,7
@@
(let ((results '())
(rows (map-query 'vector #'list "select * from TYPE_TABLE"
:result-types nil)))
(let ((results '())
(rows (map-query 'vector #'list "select * from TYPE_TABLE"
:result-types nil)))
+ (declare (array rows))
(dotimes (i (length rows) results)
(push
(list
(dotimes (i (length rows) results)
(push
(list