diff --git a/src/odbc/unittests/timeout3.c b/src/odbc/unittests/timeout3.c index 28bc4d54b..4eda0081a 100644 --- a/src/odbc/unittests/timeout3.c +++ b/src/odbc/unittests/timeout3.c @@ -172,6 +172,8 @@ main(void) /* this test requires version 7.0, avoid to override externally */ setenv("TDSVER", "7.0", 1); + setenv("TDSDUMP", "stdout", 1); + setenv("TDSDUMPCONFIG", "stdout", 1); for (port = 12340; port < 12350; ++port) if (!init_fake_server(port)) @@ -191,6 +193,7 @@ main(void) sprintf(conn, "DRIVER=FreeTDS;SERVER=127.0.0.1;Port=%d;TDS_Version=7.0;UID=test;PWD=test;DATABASE=tempdb;", port); start_time = time(NULL); CHKDriverConnect(NULL, T(conn), SQL_NTS, tmp, TDS_VECTOR_SIZE(tmp), &len, SQL_DRIVER_NOPROMPT, "E"); + printf("XXX\n"); end_time = time(NULL); memset(sqlstate, 'X', sizeof(sqlstate));