similar problem

ubuntu 9.10 (with all updates), in which is qt 4.5.3 (marked as version 
4.5.3really4.5.2-0ubuntu1) and iodbc 3.52.6-3ubuntu1
as database i am using Sql Anywhere 11.0.1.2324
odbc is set to use odbc driver /opt/sqlanywhere11/lib32/libdbodbcansi11_r.so
i can connect to database using iodbctest, launch queries on it, all works as 
it should.

qt applications i tried (sql browser demo, my own application) fail to get any 
results. first() returns false 
in iodbc trace log first problem is 

[000000.151926]
sqlbrowser      B7728970 EXIT  SQLFetchScroll with return code -1 (SQL_ERROR)
                SQLHSTMT          0x85c3be0
                SQLUSMALLINT      1 (SQL_FETCH_NEXT)
                SQLLEN            0


is it this bug, or is it something new?

its also reported here: http://bugreports.qt.nokia.com/browse/QTBUG-3114

attached odbc trace log is created while using SqlBrowser from qt demos
result of these operations
1) launch qt demo sql browser
2) connect to odbc source
3) submit query which should return ~200 rows. it returns none
4) closed sql browser application 

i hope it will help

** Attachment added: "iodbc trace log"
   http://launchpadlibrarian.net/35463984/odbctrace_.log

-- 
SELECT don't work in libqt4-sql-odbc with IBM ISeries driver
https://bugs.launchpad.net/bugs/253952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to