qt5base-lts/tests/auto/sql
Honglei Zhang 06001ce008 Fix crash when an invalid filter is set
QSqlTableModel::headerData() generates a crash if an invalid filter
is set. QSqlQueryModel::indexInQuery() should check the index value
before applied to d->colOffsets[].
QSqlQueryModel::initRecordAndPrimaryIndex() is updated to sync the
size of rec and colOffsets.

Task-number: QTBUG-23879
Change-Id: Ic9f88bb288592aa6fb3c1415cc818632dadaab56
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2012-03-30 19:51:43 +02:00
..
kernel Allow named bind values to be used multiple times per query 2012-03-30 09:31:03 +02:00
models Fix crash when an invalid filter is set 2012-03-30 19:51:43 +02:00
sql.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00