
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
14/May/07 04:42 PM
|
|
Client getColumnDisplaySize on a BLOB(1G) column returns
-2147483648
embedded returns 2147483647
In client, the issue is that for binary values it multiplies the length * 2 and this overflows the int range.
return (int) (2 * sqlLength_[column - 1]);
|
|
Description
|
Client getColumnDisplaySize on a BLOB(1G) column returns
-2147483648
embedded returns 2147483647
In client, the issue is that for binary values it multiplies the length * 2 and this overflows the int range.
return (int) (2 * sqlLength_[column - 1]);
|
Show » |
|
After multiplication (by 2 ) if the display size overflows int range, then assign Int.MAX_SIZE to display size.
This behavior is same as that in Embedded mode.
I have run derbyall and suites_All, no new failures were seen.
Patch is ready for review!