trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #876: [Trafodion 2351] Bulk load with log e...
Date Tue, 13 Dec 2016 22:38:14 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/876#discussion_r92282189
  
    --- Diff: core/sql/executor/ExExeUtilLoad.cpp ---
    @@ -1778,6 +1811,19 @@ short ExExeUtilHBaseBulkLoadTcb::moveRowToUpQueue(const char *
row, Lng32 len,
     }
     
     
    +short ExExeUtilHBaseBulkLoadTcb::printLoggingLocation(int bufPos)
    +{
    +  short retBufPos = bufPos;
    +  if (hblTdb().getNoOutput())
    +    return 0;
    +  if (loggingLocation_ != NULL) {
    +     str_sprintf(&statusMsgBuf_[bufPos], "       Logging Location: %s", loggingLocation_);
    --- End diff --
    
    How do we know the target buffer is long enough? Is there some limit on the length of
loggingLocation_?


---
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