trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandhyasun <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #1167: [TRAFODION-2308]JDBC support insert ...
Date Fri, 07 Jul 2017 20:43:33 GMT
Github user sandhyasun commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/1167#discussion_r126241055
  
    --- 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 --
    
    Yes this looks correct. I tried it out.  But you do need to mak ea similar change in the
interface ExpLOBInterfaceUpdateAppend


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message