From d745c1366c7eff595c5b9e438ffa5bd94682d326 Mon Sep 17 00:00:00 2001 From: Lyndon Bauto <58273576+lyndonb-bq@users.noreply.github.com> Date: Fri, 30 Apr 2021 13:13:20 -0700 Subject: [PATCH] Remove unnecessary logging for SQL ODBC (#1100) * [1] Removed connection string logging from test_connection * [1] Removed some more unnecessary string logging --- sql-odbc/src/odfesqlodbc/win_unicode.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql-odbc/src/odfesqlodbc/win_unicode.c b/sql-odbc/src/odfesqlodbc/win_unicode.c index 729238c85a..8093e05aca 100644 --- a/sql-odbc/src/odfesqlodbc/win_unicode.c +++ b/sql-odbc/src/odfesqlodbc/win_unicode.c @@ -204,7 +204,6 @@ char *ucs2_to_utf8(const SQLWCHAR *ucs2str, SQLLEN ilen, SQLLEN *olen, if (olen) *olen = len; } - MYPRINTF(0, " olen=%d utf8str=%s\n", len, utf8str ? utf8str : ""); return utf8str; } @@ -244,7 +243,6 @@ utf8_to_ucs2_lf(const char *utf8str, SQLLEN ilen, BOOL lfconv, bufcount); if (!utf8str) return 0; - MYPRINTF(ES_DEBUG, " string=%s", utf8str); if (!bufcount) ucs2str = NULL; @@ -444,7 +442,6 @@ static char *ucs4_to_utf8(const UInt4 *ucs4str, SQLLEN ilen, SQLLEN *olen, if (olen) *olen = len; } - MYLOG(ES_DEBUG, " olen=%d %s\n", len, utf8str ? utf8str : ""); return utf8str; } @@ -472,7 +469,6 @@ static SQLULEN utf8_to_ucs4_lf(const char *utf8str, SQLLEN ilen, BOOL lfconv, MYLOG(ES_DEBUG, " ilen=" FORMAT_LEN " bufcount=" FORMAT_ULEN "\n", ilen, bufcount); if (!utf8str) return 0; - MYLOG(99, " string=%s\n", utf8str); if (!bufcount) ucs4str = NULL;