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 #545: JIRA TRAFODION-2060 Add support for t...
Date Tue, 14 Jun 2016 22:40:05 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/545#discussion_r67070993
  
    --- Diff: core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/InterfaceResultSet.java
---
    @@ -263,6 +267,14 @@ Object getFetchString(TrafT4Connection conn, int scale, int SQLDataType,
int SQL
     				break;
     			}
     			break;
    +		case SQLTYPECODE_TINYINT:
    +                        short sValue1 = (byte) ibuffer[byteIndex];
    +			retObj = new Short(sValue1);
    +			break;
    +		case SQLTYPECODE_TINYINT_UNSIGNED:
    --- End diff --
    
    Do we have to twiddle a sign bit in one of these cases?


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