r9212: Automated commit for Debian build of clsql upstream-version-2.10.8
[clsql.git] / tests / test-basic.lisp
index a6a501ec1a3e8606d2d7eb9988fadada71565b9c..85874a4d4ed3015ed25b2b035117b5666d0de9cd 100644 (file)
            (destructuring-bind (int float bigint str) row
              (push (list (integerp int)
                          (typep float 'double-float)
-                         (if (member *test-database-type* '(:odbc :aodbc))  
-                             t
+                         (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))))
        (let ((results '())
              (rows (map-query 'vector #'list "select * from TYPE_TABLE" 
                               :result-types nil)))
+         (declare (array rows))
          (dotimes (i (length rows) results)
            (push
             (list