Comment 2 for bug 1455670

Revision history for this message
Anoop Sharma (anoop-sharma) wrote :

When setting up input param values that are varchar (length followed by data), code
needs to set the length based on the returned length of param after describe.
In this case, the returned param len was 40000 but the length bytes of the varchar
was being set as a 2 byte prefix. But cli was expecting first 4 bytes as the length
prefix and that returned incorrect length which caused the overflow.

This change need to be done in both sqlci frontend as well as connectivity frontend.

I have made the change in sqlci.
Someone from conn need to make this change as well.