commit 499684f21950bf4c6832ce474e9a182547d3c6c8
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:   Thu Feb 13 22:30:44 2014 +0200

    Fix cursors test case on big-endian systems.
    
    The SQL_CURSOR_COMMIT_BEHAVIOR property is a SQLUSMALLINT, not SQLUINTEGER.
    On a little-endian system, you wouldn't notice, provided that the target
    variable was initialized to 0 before the SQLGetInfo call.
    
    Per report from Christoph Berg that the cursors test was failing on mipsel
    and other big-endian architectures.

--- a/test/src/cursors-test.c
+++ b/test/src/cursors-test.c
@@ -134,7 +134,7 @@ int main(int argc, char **argv)
 	char *sqlend;
 	int i;
 	int len;
-	SQLUINTEGER info;
+	SQLUSMALLINT info;
 
 	test_connect();
 
