[
https://issues.apache.org/jira/browse/TRAFODION-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629331#comment-16629331
]
ASF GitHub Bot commented on TRAFODION-3214:
-------------------------------------------
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?
> the error message is truncated
> ------------------------------
>
> Key: TRAFODION-3214
> URL: https://issues.apache.org/jira/browse/TRAFODION-3214
> Project: Apache Trafodion
> Issue Type: Bug
> Components: client-odbc-windows
> Affects Versions: any
> Environment: Windows 7
> Reporter: XuWeixin
> Assignee: XuWeixin
> Priority: Major
> Fix For: 2.4
>
>
> the error message is truncated when give the buffer with enough length.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)