diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-06-23 12:58:40 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-07-04 23:00:00 +0200 |
| commit | 730de6fbb09f082f32dfa355502551a0d6b8ae34 (patch) | |
| tree | f13ed30482545497a303ad0076dcae0841cbc143 /tests/auto/sql/kernel/qsqldatabase/tst_databases.h | |
| parent | 793f3d8642139e9411ee0ec7999d8d8273b22241 (diff) | |
SQL/ODBC: properly set SQL_ATTR_CURSOR_SCROLLABLE
Setting a query in forward-only or scrollable mode was done with
SQL_ATTR_CURSOR_TYPE in ODBCv2. Nearly all ODBCv3 drivers also honor
this value but some don't and need the ODBC v3 conformant
SQL_ATTR_CURSOR_SCROLLABLE attribute instead. Fix it by setting both
attributes.
Fixes: QTBUG-126118
Pick-to: 6.8 6.7 6.5
Change-Id: I6d974b7b3e94113b0a87f1cc7f8cff0deb53642b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_databases.h')
0 files changed, 0 insertions, 0 deletions
