Bug #30890 Wrong field type for longtext is returned to Visual Foxpro, data are truncated
Submitted: 7 Sep 2007 12:56 Modified: 14 Feb 2008 17:33
Reporter: Jaromir Karmazin
Status: Closed
Category:Connector/ODBC Severity:S3 (Non-critical)
Version:5.1 OS:Microsoft Windows (XP SP2)
Assigned to: Bugs System Target Version:

File: Maximum allowed size is 500KB.
Description:
Privacy:

If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-30890.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.

All entries become the exclusive editorial property of Sun Microsystems, Inc.

[7 Sep 2007 14:53] Sveta Smirnova
test case

Attachment: bug30890.c (text/plain), 1.66 KiB.

[19 Dec 2007 10:22] Jaromir Karmazin
ODBC trace log for MyODBC 3.51

Attachment: myodbc_3_51.log (application/octet-stream, text), 56.47 KiB.

[19 Dec 2007 10:22] Jaromir Karmazin
ODBC trace log for MyODBC 3.51 with "limit column size.." flag

Attachment: myodbc_3_51_with32bitflag.log (application/octet-stream, text), 56.10 KiB.

[19 Dec 2007 10:23] Jaromir Karmazin
ODBC trace log for MyODBC 5.1

Attachment: myodbc_5_1.log (application/octet-stream, text), 57.24 KiB.

[19 Dec 2007 10:24] Jaromir Karmazin
MySQL general query log

Attachment: MySQL.LOG (application/octet-stream, text), 1011 bytes.

[4 Jan 2008 1:20] Jess Balint
fix + test

Attachment: bug30890.diff (application/octet-stream, text), 3.01 KiB.

[4 Jan 2008 2:08] Jess Balint
updated patch, correctly handle 64-bit lengths

Attachment: bug30890.diff (application/octet-stream, text), 8.53 KiB.

[4 Jan 2008 20:06] Jess Balint
updated patch, use STMT instead of adding an extra parameter

Attachment: bug30890.diff (application/octet-stream, text), 4.93 KiB.