qt6-bb10/tests/auto/sql/kernel/qsqlquery
Honglei Zhang 67be01ae50 Check driver validity before using it
Even though it is stated in the documentation that the SQL driver must
remain valid during the life time of QSqlQuery, there are users who don't
follow the rule. It's common that the destructor of QSqlQuery is called
after the driver is already deleted. This fix checks the validity of
the SQLite driver before QSqliteResult uses it in destructor.

Task-number: QTBUG-16967
Change-Id: If0f52113f12e14102da1671cd6e12bdaa267114f
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
2011-12-12 10:43:44 +01:00
..
.gitignore Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
qsqlquery.pro test: Split `qsqlquery' unit and benchmark test 2011-10-23 22:14:38 +02:00
tst_qsqlquery.cpp Check driver validity before using it 2011-12-12 10:43:44 +01:00