Call QSqlQuery::finish() on all SELECT queries when done
It's what documentation says should be done, and once Qt is fixed it will also cause the QSqlQuery to free the underlying DBMS' results, so that keeping the query around in the caches won't cause them to use insane amount of memory, if the last query happened to return a lot of results.
parent
80dd88b9
Please register or sign in to comment