qt6-bb10/src/sql/drivers
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
..
db2 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
ibase Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
mysql Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
oci Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
odbc Fix compiler warnings. 2011-10-27 16:35:12 +02:00
psql Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sqlite Check driver validity before using it 2011-12-12 10:43:44 +01:00
sqlite2 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tds Fix compiler warnings. 2011-09-28 03:17:51 +02:00
drivers.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00