[tracker/tracker-0.8] libtracker-data: Clear buffer only when rolling back transaction
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] libtracker-data: Clear buffer only when rolling back transaction
- Date: Thu, 10 Jun 2010 13:11:34 +0000 (UTC)
commit 824ba0d15d925f8d37dad7a1e05f4686c640e52d
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 49b6b23..912309e 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1849,7 +1849,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;
}
@@ -1920,7 +1919,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;
}
@@ -2700,7 +2698,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]