trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <>
Subject [GitHub] incubator-trafodion pull request: TRAFODION-1457 Issues related to...
Date Mon, 17 Aug 2015 22:44:20 GMT
Github user DaveBirdsall commented on a diff in the pull request:
    --- Diff: core/sql/optimizer/NATable.cpp ---
    @@ -1472,58 +1478,161 @@ static ItemExpr * getRangePartitionBoundaryValuesFromEncodedKeys(
                   // value. Note that the buffer has a prefix of some bytes with actual key
                   // values, followed by bytes that are zeroed out. 
    +              // the number of bytes actually provided in the key (not filled in)
    +              int numBytesInProvidedVal = encodedKeyLen-valOffset;
    +              if (nullHdrSize && numBytesInProvidedVal <= 0)
    --- End diff --
    The condition numBytesInProvidedVal <= 0 should always be true by definition of columnIsPartiallyProvided.
Doesn't hurt anything though, just makes reading more complicated.

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 or file a JIRA ticket
with INFRA.

View raw message