Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove unnecessary logging for SQL ODBC (#1100)
Browse files Browse the repository at this point in the history
* [1] Removed connection string logging from test_connection

* [1] Removed some more unnecessary string logging
  • Loading branch information
lyndonbauto authored and dai-chen committed Apr 30, 2021
1 parent 82a7564 commit d745c13
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sql-odbc/src/odfesqlodbc/win_unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d745c13

Please sign in to comment.