From: <car...@ho...> - 2002-07-01 19:25:39
|
Hello: This fix is incomplete it works fine for CHAR and VARCHAR fields but not for BLOB fields, i made a few test and it seems to work well, it should be: OdbcStatement.cpp 1. Add this sqlBindCol at line 370 if ( metaData->getColumnType (column) == SQL_CHAR || metaData->getColumnType (column) == SQL_VARCHAR ) binding->dataOffset = 0; Best regards Carlos Guzmán Álvarez Vigo-España Carlos G.A. wrote: > Hello: > > I have another little fix for the driver, the driver return invalid > results for character data in random records/fields: > > OdbcStatement.cpp > > 1. Add this sqlBindCol at line 370 > > binding->dataOffset = 0; > > Best regards > Carlos Guzman Alvarez > Vigo-Espaqa > > _________________________________________________________________ > MSN. Mas Ztil cada Dma. http://www.msn.es/intmap/ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Firebird-odbc-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel > |