[ 
https://issues.apache.org/jira/browse/TRAFODION-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997716#comment-15997716
 ] 

ASF GitHub Bot commented on TRAFODION-2602:
-------------------------------------------

Github user xwq commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafodion/pull/1078#discussion_r114922009
  
    --- Diff: core/conn/unixodbc/odbc/odbcclient/unixcli/cli/sqltocconv.cpp ---
    @@ -1555,6 +1555,7 @@ unsigned long ODBC::ConvertSQLToC(SQLINTEGER  
ODBCAppVersion,
                                                                return 
IDS_22_003;
                                                        }
                                                        srcLength = 
TransStringLength + 1;
    +                            DataLen = sizeof(DATE_STRUCT);
    --- End diff --
    
    Hi Dave, thanks for review. The case here is application bind a DATE_STRUCT 
to LONGVARCHAR, and the charset is UCS2.  In the code, we reuse the variable 
"DataLen" to represent the length of the data from server side, since the 
charset is UCS2, so the length is 2 times of the DATE_STRUCT. After converting 
the data. DataLen will be used to represent the length of DATE_STRUCT which 
user binded.
    
    BYW, this code was removed from the early commit which for VARHCAR (> 32K) 
support. but this line should not be removed. That's why we need this change.


> Update Trafodion web site with new 2.1.0 release
> ------------------------------------------------
>
>                 Key: TRAFODION-2602
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2602
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 2.2-incubating
>            Reporter: Hans Zeller
>            Assignee: Hans Zeller
>             Fix For: 2.2-incubating
>
>
> Now that release 2.1.0-incubating is out, the web site needs to be updated. 
> The new artifacts need to be on the download page, and there needs to be a 
> new section with the 2.1.0 manuals. The "in development" manual section will 
> switch over to 2.2.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to