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

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

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

    
https://github.com/apache/incubator-trafodion/pull/1167#discussion_r126080717
  
    --- Diff: core/sql/exp/ExpLOBinterface.cpp ---
    @@ -728,9  728,9 @@ Lng32 ExpLOBInterfaceUpdate(void * exLobGlob,
       Ex_Lob_Error status;
       Int64 cliError = -1;
       Int64 sourceLen = 0;
    -  if((so == Lob_Memory) || (so == Lob_External_File))
       if(so == Lob_External_File)
         sourceLen = strlen(srcLobData);
    -  else if (so == Lob_Buffer)
       else if ((so == Lob_Buffer) || (so == Lob_Memory))
    --- End diff --
    
    I have run the regression test in sql/regress, it passed.  Here the problem 
is the CLOB will be truncate by '\0'.  Some charset, it uses 2 or more bytes 
for one character, one of the byte may be '\0'.   It seems the tgtLobLen is the 
real length. Could you help me to check it and give me some suggestions.


> JDBC T4 support read LOB
> ------------------------
>
>                 Key: TRAFODION-2308
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2308
>             Project: Apache Trafodion
>          Issue Type: Sub-task
>          Components: client-jdbc-t4, connectivity-mxosrvr
>            Reporter: Weiqing Xu
>            Assignee: Weiqing Xu
>
> JDBC T4 need implement some API to support CLOB and BLOB.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to