[Qt-interest] Problem with ODBC Plugin
Lodron, Gerald
Gerald.Lodron at joanneum.at
Wed Jun 8 13:49:02 CEST 2011
Hi
Interresting, in my case it doesn't kill itself, 5 seconds would be better than nothing.... The strange thing is that in my minimalistic example programm i tested many more sql statements then in my big application (here only one was implemented). This single sql query causes this behaviour of the endless loop in odbc.
ok, if this is a known bug then i will try to write a killer function, thanks
best regards
________________________________
Von: Thomas Ganshorn [mailto:mailings at novaimages.de]
Gesendet: Mittwoch, 8. Juni 2011 13:17
An: QT (qt-interest at trolltech.com); Lodron, Gerald
Betreff: Re: [Qt-interest] Problem with ODBC Plugin
Hi
i just wanted to tell you that i had this problem also with mysql since qt4.1.
The application does not really ends. In the case of mysql it kills itself after 5 seconds.
It looked like it was an internal issue that some resources were not cleaned up correctly in some circumstances.
It couldn't be fixed by trolltech (was a paying customer at that time).
"Lodron, Gerald" <Gerald.Lodron at joanneum.at> hat am 8. Juni 2011 um 12:30 geschrieben:
>
> Hi
>
> i use the ODBC plugin for a dynamic library which talks to a database. On a minimalistic main() programm everything works but when i integrate the dll to my bigger application i have the problem that the .exe of my application runs until program exit (so my programm does not close correct). I debugged the main() function and the function is returned without error code. After executing main() i came to an endless loop of ODBC Qsql_odbc.cpp: line 1930: r = SQLDisconnect(d->hDbc); So i cannot post the whole code from my bigger application and everything works on my minimalistic example.
>
> Does anyone has a clue where i could find the error?
>
> best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110608/fff10ba4/attachment.html
More information about the Qt-interest-old
mailing list