T2 - Changing setFetchSize returns corrupt data for ucs2 columns

Bug #1419946 reported by Aruna Sadashiva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
High
Zbigniew Omanski

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

Changed in trafodion:
assignee: nobody → Zbigniew Omanski (zbigniew-omanski)
status: New → Confirmed
Changed in trafodion:
status: Confirmed → In Progress
Changed in trafodion:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.