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 #590: JIRA TRAFODION-2099 Add support for b...
Date Mon, 11 Jul 2016 20:57:41 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/590#discussion_r70335644
  
    --- Diff: core/sql/exp/exp_attrs.cpp ---
    @@ -278,6 +278,8 @@ switch (datatype)
       case REC_INT_FRACTION: return extFormat? (char *)"INTERVAL FRACTION":(char *)"REC_INT_FRACTION";
       case REC_BLOB: return extFormat? (char *)"BLOB":(char *)"REC_BLOB";
       case REC_CLOB: return extFormat? (char *)"CLOB":(char *)"REC_CLOB";
    +  case REC_BOOLEAN: return extFormat ? (char *)"BOOLEAN" : (char *)"BOOLEAN";
    --- End diff --
    
    Not sure why the ternary expressions are used here, since the true and false results are
the same.


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