[tracker/insert-silent: 2/3] libtracker-data: Clear buffer only when rolling back transaction
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/insert-silent: 2/3] libtracker-data: Clear buffer only when rolling back transaction
- Date: Mon, 7 Jun 2010 10:25:36 +0000 (UTC)
commit 9748143822e8a7358ed555e19d5fbd9e2bf855e4
Author: Jürg Billeter <j bitron ch>
Date: Mon Jun 7 12:23:22 2010 +0200
libtracker-data: Clear buffer only when rolling back transaction
src/libtracker-data/tracker-data-update.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 30df3a2..00781db 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1918,7 +1918,6 @@ tracker_data_insert_statement_with_uri (const gchar *graph,
/* add value to metadata database */
change = cache_set_metadata_decomposed (property, object, 0, graph, 0, &actual_error);
if (actual_error) {
- tracker_data_update_buffer_clear ();
g_propagate_error (error, actual_error);
return;
}
@@ -1989,7 +1988,6 @@ tracker_data_insert_statement_with_string (const gchar *graph,
/* add value to metadata database */
change = cache_set_metadata_decomposed (property, object, 0, graph, 0, &actual_error);
if (actual_error) {
- tracker_data_update_buffer_clear ();
g_propagate_error (error, actual_error);
return;
}
@@ -2819,7 +2817,6 @@ tracker_data_replay_journal (GHashTable *classes,
cache_set_metadata_decomposed (property, NULL, object_id, NULL, graph_id, &new_error);
if (new_error) {
- tracker_data_update_buffer_clear ();
g_warning ("Journal replay error: '%s'", new_error->message);
g_error_free (new_error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]