X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-basic.lisp;h=85874a4d4ed3015ed25b2b035117b5666d0de9cd;hb=1dda729b250779079efbdc1d3f6bbb3ae4a20ba4;hp=37639e311df1d587e3ce1a6ac18fe1b03b7ccb47;hpb=1751e5245c270bd1ee854a98dfe6caa665abe34e;p=clsql.git diff --git a/tests/test-basic.lisp b/tests/test-basic.lisp index 37639e3..85874a4 100644 --- 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) - (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))) @@ -104,6 +108,7 @@ (let ((results '()) (rows (map-query 'vector #'list "select * from TYPE_TABLE" :result-types nil))) + (declare (array rows)) (dotimes (i (length rows) results) (push (list