From 97cf733b5f7201bf58693983e535c1f3d19bee79 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Thu, 7 Apr 2016 13:54:56 +0900 Subject: [PATCH] Prevent bus error crash on sparc in regression test. It seems a problem of alignment. --- test/src/bulkoperations-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.39.5