paranoia
This commit is contained in:
parent
1d550b15ea
commit
4ea98632da
@ -162,6 +162,7 @@ void StorageJob::start()
|
|||||||
query.bindValue(":valueGroup", valueGroup);
|
query.bindValue(":valueGroup", valueGroup);
|
||||||
|
|
||||||
if (!query.exec()) {
|
if (!query.exec()) {
|
||||||
|
m_rdb->database()->commit();
|
||||||
setResult(false);
|
setResult(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -208,6 +209,7 @@ void StorageJob::start()
|
|||||||
|
|
||||||
if (!query.exec()) {
|
if (!query.exec()) {
|
||||||
//kDebug() << "query failed:" << query.lastQuery() << query.lastError().text();
|
//kDebug() << "query failed:" << query.lastQuery() << query.lastError().text();
|
||||||
|
m_rdb->database()->commit();
|
||||||
setResult(false);
|
setResult(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user