You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:19:20 UTC

[jira] [Created] (TRAFODION-988) LP Bug: 1419946 - T2 - Changing setFetchSize returns corrupt data for ucs2 columns

Alice Chen created TRAFODION-988:
------------------------------------

             Summary: LP Bug: 1419946 - T2 - Changing setFetchSize returns corrupt data for ucs2 columns
                 Key: TRAFODION-988
                 URL: https://issues.apache.org/jira/browse/TRAFODION-988
             Project: Apache Trafodion
          Issue Type: Bug
          Components: client-jdbc-t2
            Reporter: Aruna Sadashiva
            Assignee: Zbigniew Omanski
            Priority: Critical
             Fix For: 1.1 (pre-incubation)


This works ok thru T4. 

With T2, changing the FetchSize to >2 returns corrupt data for ucs2 data. 

RETURNED::30,-32766,32767,-2147483646,2147483647,368547587,-16.95,16.95,-16.95,16.95,-99999999.999999896,99999.999900000,100000000.00000,100000000.00000,6.001,34.121212,3.40287E38,ZZZZZZZZZZZZ,AAAAAAAAAAAA,zzzzzzzzzzzz,aaaaaaaaaaaV\u84f6,2009-10-09,09:10:09,2009-10-09 09:10:09.0
EXPECT::30,-32766,32767,-2147483646,2147483647,368547587,-16.95,16.95,-16.95,16.95,-99999999.999999896,99999.999900000,100000000.00000,100000000.00000,6.001,34.121212,3.40287E38,ZZZZZZZZZZZZ,AAAAAAAAAAAA,zzzzzzzzzzzz,aaaaaaaaaaaa,2009-10-09,09:10:09,2009-11, 0.09        , 0.09


The data should be aaaaaaaaaaa, but it has some junk characters appended at the end, the number of junk chars varies with each test run. 

The test is jdbcbatch18, you can find it in the basict2 folder on the share.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)