qt5base-lts/tests/auto/sql/models
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
..
qsqlquerymodel Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlrelationaltablemodel QSqlTableModel::setData(): no longer autosubmit for OnRowChange 2012-03-15 15:35:32 +01:00
qsqltablemodel Fix crash when an invalid filter is set 2012-03-30 19:51:43 +02:00
models.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00