Hi all,
My config : Ubuntu Linux 8.04, gcc 4.2.4, qt 4.5.0-rc1, SQLServer 2000
on a W2K3 Server & unixODBC / freeTDS.
I'm accessing the database without problems, with QODBC Driver. With
Qt-4.4.3, I can use those selects without problem :
SELECT CAST ( 1.1899999999999999 AS FLOAT ) AS V1
SELECT CAST ( 1.1463600047577465 AS FLOAT ) AS V1
When I switched to Qt-4.5.0-rc1, the second one hangs !! It happens only
with float values.
Backtracing with gdb some selects with float results, I've this output
( it's from another test, with a table that has more columns, so don't
bother about the param column=70 shown )
#0 0xb69f69bc in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1 0xb6d83f5a in QString::append (this=0x725f5ffe, s...@0xbfec220c) at
tools/qstring.cpp:1300
#2 0xb5791dce in qGetStringData (hStmt=0x8caa3d8, column=70,
colSize=10, unicode=false)
at ../../../../include/QtCore/../../src/corelib/tools/qstring.h:264
#3 0xb57926a2 in QODBCResult::data (this=0x863aeb8, field=70)
at ../../../sql/drivers/odbc/qsql_odbc.cpp:1029
#4 0xb68fa0ef in QSqlQuery::value (this=0x86394e4, index=70) at
kernel/qsqlquery.cpp:395
#5 0xb68fa167 in QSqlQuery::record (this=0x86394e4) at
kernel/qsqlquery.cpp:847
I've been looking inside Qt code, but I can't found what's happening.
I'm wondering about this. Any clues ?
Many thanks,
Jordi Pujol.
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback