From 1da4f790a11f281cce15a2d3cc16182c099b6d5c Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Sun, 24 Jul 2016 18:58:42 +0900 Subject: [PATCH 1/2] Fix regression test failures on armv7hl. 'char' type seems to mean unsigned char on the platform. Though move_direction member of QResultClass takes negative values, QR_is_moving_backward() never returns TRUE. So ensure that move_direction is signed char on any platform. --- qresult.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qresult.h b/qresult.h index 60f449a..b5d878b 100644 --- a/qresult.h +++ b/qresult.h @@ -88,7 +88,7 @@ struct QResultClass_ char pstatus; /* processing status */ char aborted; /* was aborted ? */ char flags; /* this result contains keyset etc ? */ - char move_direction; /* must move before fetching this + po_ind_t move_direction; /* must move before fetching this result set */ SQLULEN count_keyset_allocated; /* m(re)alloced count */ SQLULEN num_cached_keys; /* count of keys kept in backend_keys member */ -- 2.7.4