Qt-interest Archive, March 2002
Strange problem with QPSQL driver on Windows
Message 1 in thread
- Subject: Strange problem with QPSQL driver on Windows
- From: Chris Ryan <xgbe@xxxxxxxxx>
- Date: Thu, 21 Mar 2002 13:55:38 -0500
- Organization: Open MFG, LLC
- Sender: ryan
- To: qt-interest@xxxxxxxxxxxxx
We are encountering a problem on Windows with our app while using the
QPSQL drivers. The app is reading records from the database that can be
up to several kb in size. when updating or reading large records from
the database we get the following error as reported from QSqlError:
driverText() returns "QPSQL: Unable to create query"
databaseText() returns "pqReadData() -- read() failed: errno=0\nNo
error"
After this point all queries to read/write to the database fail with
the same error message. I tested the app on a linux box connecting to
the same database and the app worked as expected. In addition I checked
the log files from the database and there were no error messages
reported. I ran a quick analysis and found that the smallest value I
have that breaks is 10968 bytes and the largest value that will still
work is 10881 bytes.
We are currently using the 3.0.1 Windows version of Qt.
Chris
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com