qt5base-lts/src/sql/kernel
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
..
kernel.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qsql.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsql.qdoc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqlcachedresult_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqlcachedresult.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqldatabase.cpp Fix most warnings about assignments of QAtomicInt. 2011-10-31 11:29:08 +01:00
qsqldatabase.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqldriver.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqldriver.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqldriverplugin.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqldriverplugin.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqlerror.cpp Add operator== and operator!= to qsqlerror class 2011-08-24 06:51:17 +02:00
qsqlerror.h Add operator== and operator!= to qsqlerror class 2011-08-24 06:51:17 +02:00
qsqlfield.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqlfield.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqlindex.cpp Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqlindex.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqlnulldriver_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qsqlquery.cpp Fix typos in Sqlite docs. 2011-12-05 10:48:37 +01:00
qsqlquery.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqlrecord.cpp Fix most warnings about assignments of QAtomicInt. 2011-10-31 11:29:08 +01:00
qsqlrecord.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qsqlresult.cpp Check driver validity before using it 2011-12-12 10:43:44 +01:00
qsqlresult.h Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00