From: Carlos G.A. <car...@ho...> - 2002-05-25 18:21:23
|
Hello: Yo have to change another line in IscStatement.cpp i transcribe here the part of this error of the post 'BUGS' here. Sqlda.cpp: 1.- Sqlda::allocbuffer makes that the data returned by a SQLStatement was incorrect and that SQLColAttributes returned bad results for SQL_COLUMN_LENGTH. SQL_COLUMN_DISPLAY_SIZE, ..., i fixed this commenting this line: var->sqllen = length; With this line commented it´s neccesary other change in: IscStatement.cpp In the method IscStatement::setValue: .... case SQL_TEXT: { char *data = (char*) var->sqldata; data [var->sqllen] = 0; value->setString (data, false); } break; Best Regards Carlos G.A. PD: Sorry about my bad english but i´m spanish _________________________________________________________________ MSN Photos es la manera más sencilla de compartir e imprimir sus fotos: http://photos.msn.com/support/worldwide.aspx |