r9211: add *backend-warning-behavior
[clsql.git] / tests / test-basic.lisp
index c551b0d16049efca5407ebbfff4166787323985a..85874a4d4ed3015ed25b2b035117b5666d0de9cd 100644 (file)
            (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)))