MySQL Forums
Forum List  »  General

Re: Unexpected Innodb table lock
Posted by: Scott Krise
Date: February 15, 2019 10:20AM

Here is the query that is failing...

updateStr = QString("delete from wo_weekly_rel where user = '%1';").arg(userName);
query.prepare(updateStr);
query.exec(updateStr);

if (query.lastError().text() != " ")
{
progress.setValue(8);
QMessageBox::warning(this, tr("Program Alert"),
tr("Delete Of Records For %2 From WO_WEEKLY_REL Failed With Return Code of %1").arg(query.lastError().text()).arg(userName),
QMessageBox::Ok | QMessageBox::Default);
return;
}

Options: ReplyQuote


Subject
Written By
Posted
February 15, 2019 09:13AM
February 15, 2019 10:09AM
February 15, 2019 02:21PM
February 19, 2019 08:28AM
February 22, 2019 08:04AM
February 19, 2019 09:01AM
Re: Unexpected Innodb table lock
February 15, 2019 10:20AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.