Hello,
I've got a little problem with mysqlpp. I use a command like this:
QStringList list=getQStringListFromSqlScript(scriptPath,
databaseName);
mysqlpp::Query query = mySqlConnection->query();
for(int i=0;i<list.count();i++)
{
query <<
list[i].toAscii().data();
}
mysqlpp::StoreQueryResult res = query.store();
The code copies the lines from a *.sql and let them run. That works perfect but
query.store() doesn't wait until the server works. The sql-commands I'm calling with my
code need very long to finish. Is it possible to know if the server is already busy
because of my command?
best regards,
Franz