#462 String data being truncated using ODBC

closed
nobody
Data (43)
5
2012-09-14
2011-07-30
Doug
No

When using the ODBC data connector to add records to a table containing strings,
the length of the string data will be truncated to the length of the first
records data. If the length of a string changes enough to require the string
class to reallocate its buffer then its length will be correct and all records
added will now be truncated to its length.

Discussion

  • Doug
    Doug
    2011-07-30

    Describes the bug and shows code

     
    Attachments
  • which release? trunk?

     
  • Doug
    Doug
    2011-08-22

    I originally found the bug in 1.3.6.p2. I just upgraded to 1.4.1.p1 and the problem still exists. The attached code is from 1.4.1.p1. THX.