[Interest] QSqlDatabase "left open"
Alex Malyushytskyy
alexmalvtk at gmail.com
Sat Apr 6 00:17:16 CEST 2013
Do you say QStringList <qstringlist.html> QSqlDatabase::connectionNames ()
returns anything after QSqlDatabase::close is called?
I believe in Qt 4.6 it worked on Windows.
You may try QSqlDatabase::removeDatabase
but it may cause some resource leeks if there are open queries.
Regards,
Alex
On Thu, Apr 4, 2013 at 5:11 PM, Scott Aron Bloom
<scott.bloom at onshorecs.com>wrote:
> In Qt 4, is there a way to FORCE close all sql database connections…****
>
> ** **
>
> Use sqlite, even calling QSqlDatabase::close does not cause all
> connections to close…****
>
> ** **
>
> Any thoughts on forcing it to just close every connection…
> Scott****
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130405/f97d1757/attachment.html>
More information about the Interest
mailing list