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