[tracker/journal-err-reporting: 6/7] libtracker-data: End db transaction on ontology-transaction failure
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/journal-err-reporting: 6/7] libtracker-data: End db transaction on ontology-transaction failure
- Date: Fri, 22 Apr 2011 09:55:46 +0000 (UTC)
commit 7a912650e8fbad6f1402dd139ffa919808d2369e
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Apr 22 11:38:53 2011 +0200
libtracker-data: End db transaction on ontology-transaction failure
src/libtracker-data/tracker-data-update.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index e616452..7560e06 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2964,6 +2964,7 @@ tracker_data_begin_transaction (GError **error)
tracker_db_journal_start_ontology_transaction (resource_time, &n_error);
if (n_error) {
+ tracker_db_interface_end_db_transaction (iface, NULL);
g_propagate_error (error, n_error);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]