[fdo-internals] MySql - TEXT columns are not correctly retrieved
Dan Stoica
dan.stoica at autodesk.com
Wed Jan 17 11:02:38 EST 2007
Found that TEXT columns (which are mapped to FDO String property type)
are not correctly processed. MySQL TEXT columns are BLOBS and apparently
MySql rdbms internal buffer(s) are not cleaned up before fetching a new
row.
Currently there is no easy way to return the actual blob size to
GdbiQueryResult from the driver. The fix consists in setting a null
terminator in MySqlDriver in the position indicated by the 'length'
value. This works fine for TEXT columns.
Changed Files:
/branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/fetch.c
/trunk/Providers/GenericRdbms/Src/MySQL/Driver/fetch.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20070117/7769ac8c/attachment.html
More information about the fdo-internals
mailing list