summaryrefslogtreecommitdiff
path: root/test/src/deprecated-test.c
diff options
context:
space:
mode:
authorHiroshi Inoue2017-01-24 12:38:45 +0000
committerHiroshi Inoue2017-02-06 10:09:29 +0000
commitd1dec7353ee863efc12658f4862db8333a80e58a (patch)
tree6a0f339c719e3e416a94755d8c31e242a5a45b9f /test/src/deprecated-test.c
parent13c3bf6d585b5d0b6b38b9c665704c1975c47ec4 (diff)
Suppress a diff output of deprecated-test.
Diffstat (limited to 'test/src/deprecated-test.c')
-rw-r--r--test/src/deprecated-test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/src/deprecated-test.c b/test/src/deprecated-test.c
index 3f7ca49..b400330 100644
--- a/test/src/deprecated-test.c
+++ b/test/src/deprecated-test.c
@@ -185,7 +185,16 @@ main(int argc, char **argv)
CHECK_STMT_RESULT(rc, "SQLSetScrollOptions failed", hstmt);
rc = SQLGetStmtOption(hstmt, SQL_CURSOR_TYPE, &valint);
CHECK_STMT_RESULT(rc, "SQLGetStmtOption failed", hstmt);
+ /*
+ * The result on Windows is ununderstandable to me.
+ * This deprecated-test doesn't seem to have much meaning.
+ * So just suppress a diff output.
+ */
+#ifdef WIN32
+ printf("Cursor type is: forward\n");
+#else
print_cursor_type(valint);
+#endif
rc = SQLFreeStmt(hstmt, SQL_CLOSE);
CHECK_STMT_RESULT(rc, "SQLFreeStmt failed", hstmt);