From 2df7712bbcbe49f79cae2e0e3c744ef4b62fa416 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Sat, 7 Dec 2024 12:10:04 +0000 Subject: [PATCH] try to enable debug --- src/odbc/unittests/timeout3.c | 3 +++ 1 file changed, 3 insertions(+) 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));