This commit is contained in:
Aaron Seigo 2011-04-28 18:02:23 +02:00 committed by Marco Martin
parent 1d550b15ea
commit 4ea98632da

View File

@ -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;
}