From: B. S. <sc...@de...> - 2002-05-25 21:00:41
|
Hi, I'm sorry, but have to say, that your proposal is not the right way. It _seems_ to work it really doesn't. I tried more than once to use this changes, but at least you can not use yarchar and char-fields in your table followed by another char-field. I always got either memory-errors or at least the wrong output (every second field gets corrupt or blank)! > > > 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 > > > > > --__--__-- > > _______________________________________________ > Firebird-odbc-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel > > > End of Firebird-odbc-devel Digest > mfG B. Schulte ------------------------- ___ /\ / / \ / -- DELTA 7 -- ---- / ------------------------- |