You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by DaveBirdsall <gi...@git.apache.org> on 2018/09/26 20:00:40 UTC
[GitHub] trafodion pull request #1718: [TRAFODION-3214] ODBC error message is truncat...
Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1718#discussion_r220703185
--- Diff: win-odbc64/odbcclient/drvr35/cdiag.cpp ---
@@ -378,15 +378,15 @@ SQLRETURN CDiagRec::GetDiagRec(SQLSMALLINT RecNumber,
//Double strLen to circumvent the bug in driver manager, that requires us to give
//the NO. OF BYTES instead of no. of characters
- strLen = tmpStrLen * 2;
+ strLen = tmpStrLen;
--- End diff --
Should the comment before this statement be deleted?
---