diff options
| author | Hiroshi Inoue | 2017-01-24 12:38:45 +0000 |
|---|---|---|
| committer | Hiroshi Inoue | 2017-02-06 10:09:29 +0000 |
| commit | d1dec7353ee863efc12658f4862db8333a80e58a (patch) | |
| tree | 6a0f339c719e3e416a94755d8c31e242a5a45b9f /test/src/deprecated-test.c | |
| parent | 13c3bf6d585b5d0b6b38b9c665704c1975c47ec4 (diff) | |
Suppress a diff output of deprecated-test.
Diffstat (limited to 'test/src/deprecated-test.c')
| -rw-r--r-- | test/src/deprecated-test.c | 9 |
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); |
