Bug #61301 The last charater of Text type was truncated in release version
Submitted: 26 May 2011 8:35 Modified: 28 May 2013 14:10
Reporter: Lee Andy Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version:5.1.8 OS:Windows (xp)
Assigned to: Bogdan Degtyariov CPU Architecture:Any
Tags: TEXT release

[26 May 2011 8:35] Lee Andy
Description:
    I use CDatabase and CRecordSet classes to connect and query in MFC. chosing release version to compile the program,When I called GetFieldValue() function to get field value, if the field type was text,the last charater will lose. Example, field value "abcd" in mysql server, just can get "abc"."你好"just can get "你".
   When I use release version to compile the program, this problem will not happen.  
 

How to repeat:
1.Creating table with TEXT field in mysql, and fill some charaters;
2. Creating  MFC CRecordSet object to connect and select text field;
3.Using GetFieldValue() to get the TEXT field value;
4.Chosing release version to compile.

My IDE is VS2008.
[26 May 2011 12:36] Bogdan Degtyariov
Hi Lee,

Thanks for reporting the problem in ODBC Driver.
Can you provide the complete MFC Project with all files sources?
Probably it also needs a supplementary table data dump.
[16 Jun 2011 4:36] Bogdan Degtyariov
In order to continue with resolving the problem we need your reply with the requested information. Otherwise this report will be closed with "Cannot repeat" status.
[16 Jul 2011 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[28 May 2013 14:10] Bogdan Degtyariov
I'm closing this bug because I can not continue without feedback from the reporter. If you have new info, please reopen the report.