From: Hiroshi Inoue Date: Thu, 7 Apr 2016 04:54:56 +0000 (+0900) Subject: Prevent bus error crash on sparc in regression test. X-Git-Tag: REL-09_05_0200~1 X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=97cf733b5f7201bf58693983e535c1f3d19bee79;p=psqlodbc.git Prevent bus error crash on sparc in regression test. It seems a problem of alignment. --- diff --git a/test/src/bulkoperations-test.c b/test/src/bulkoperations-test.c index 7c78c52..8f650ff 100644 --- a/test/src/bulkoperations-test.c +++ b/test/src/bulkoperations-test.c @@ -40,10 +40,10 @@ int main(int argc, char **argv) SQLINTEGER colvalue2; SQLLEN indColvalue1; SQLLEN indColvalue2; - char bookmark[10]; + char bookmark[8]; SQLLEN bookmark_ind; - char saved_bookmarks[3][10]; + char saved_bookmarks[3][8]; SQLLEN saved_bookmark_inds[3]; SQLINTEGER colvalues1[3]; SQLINTEGER colvalues2[3];