Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-988

LP Bug: 1419946 - T2 - Changing setFetchSize returns corrupt data for ucs2 columns

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              omanski Zbigniew Omanski
              Reporter:
              saruna Aruna Sadashiva
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: