X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-fddl.lisp;h=3c69653edc6be24b194f592c0e26faff002904fb;hb=8e7d3ca04beea7c047f3634b05dba813ee903919;hp=b75f2cf2dbdc6ceb60ca2d091ed3dd8c65623c14;hpb=7c7edf1d85706148f55a8507a261d024defa0c7c;p=clsql.git diff --git a/tests/test-fddl.lisp b/tests/test-fddl.lisp index b75f2cf..3c69653 100644 --- a/tests/test-fddl.lisp +++ b/tests/test-fddl.lisp @@ -276,10 +276,15 @@ (max (expt 2 60)) (rest rows (cdr rest))) ((= i (length rows)) t) - (let ((row (car rest)) - (index (1+ i))) - (unless (and (eql (first row) index) - (eql (second row) (truncate max index))) + (let ((index (1+ i)) + (int (first (car rest))) + (bigint (second (car rest)))) + (when (and (eq *test-database-type* :odbc) + (eq *test-database-underlying-type* :postgresql) + (stringp bigint)) + (setf bigint (parse-integer bigint))) + (unless (and (eql int index) + (eql bigint (truncate max index))) (return nil)))))) 555 t)