Ho can i achieve that?
Tthere is no function to do that.
Ho can i achieve that?
Tthere is no function to do that.
Try QSqlQuery::clear();
I had a big memory load on the mysql-server side, because I didn't clear queries soon enough. I use QtScript to handle the queries (lots of them) and they are not deleted until the garbage collector picks them up, which is too late for me, so I had to use clear manually. Maybe it helps you, too.
Johannes
Last edited by JohannesMunk; 5th February 2010 at 12:14.
Bookmarks