Hi Claus

Wouldn't you need to zero terminate your buffer string(s)?

/gustav


> Date: 2004-01-27 18:35

> I am using the C/C++ precompiler of SAP DB 7.3.0.46 and want
> to update the data of a LONG column.

> I recognized that if the new value is shorter than the
> old value, the updated column has the length of the old value,
> and the value is the new value plus the part of the old value
> that is longer than the new value.

> I can reproduce this behaviour with the appended program.
> The program creates a table X with columns k INTEGER and
> f LONG BYTE. It then inserts a row with k=1 and f='HELLO' and
> finally updates the row with f='BELL'. If I query the table,
> I get the value 'BELLO' for column f.

> Regards,

> CTB


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to