From fd30cd0432739b0564f5593a2311165eb8268a9a Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 14 Feb 2014 14:52:16 +0200 Subject: [PATCH] The driver takes SQL_C_LONG to mean SQLINTEGER rather than "long". The regression test was failing on the s390x architecture because of that. It's big-endian, with sizeof(long) == 8. --- test/src/positioned-update-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/positioned-update-test.c b/test/src/positioned-update-test.c index 85b2895..ba8c280 100644 --- a/test/src/positioned-update-test.c +++ b/test/src/positioned-update-test.c @@ -11,7 +11,7 @@ int main(int argc, char **argv) char sql[100000]; char *sqlend; int i; - long colvalue; + SQLINTEGER colvalue; SQLLEN indColvalue; test_connect(); -- 2.39.5