Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.0
-
None
-
-
df76edb9f (dev), e7c740280 (6.8), 47efe630b (6.7)
Description
I'm attempting to connect to a SQLBase database on Windows using its ODBC driver. I've verified that the driver works using Python (via pyodbc), as well as in C++ using odbc-cpp-wrapper (linked into my Qt application).
When executing a SELECT statement using QSqlQuery, I'm able to parse the results if there number of records is very low (<30 or so). However, if the number of records is greater than this number, the application hangs, and memory consumption (monitored via the Windows Task Manager) increases gradually until the application crashes and the following error is thrown:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
See this link to the forum for more details including the Python and odbc-cpp-wrapper verification code, and the offending Qt code.
Attachments
For Gerrit Dashboard: QTBUG-119753 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
582909,1 | SQL/ODBC: Fix calling SQLGetData() for old drivers | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |