qt5base-lts/tests/auto/sql/kernel/qsqlquery
Honglei Zhang d34170aff2 Fix sqlite driver memory eating due to close failure
If an ongoing query is not finalized before close function is
called, sqlite driver still tries to close the connection to
sqlite. In this case, sqlite reports an error to sqlite driver
which is not reported to the client. The failure in close causes
connection to sqlite unclosed and memory is not freed. This
fix tries to finalize all queries before close function is called.
The close function should succeed.

Task-number: QTBUG-16967
Change-Id: I2f10a2a9017446a9d44b693b00464a89625e3602
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
2011-11-30 13:53:24 +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 Fix sqlite driver memory eating due to close failure 2011-11-30 13:53:24 +01:00