summaryrefslogtreecommitdiff
path: root/src/libtracker-data/tracker-data-update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtracker-data/tracker-data-update.c')
-rw-r--r--src/libtracker-data/tracker-data-update.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index e97006631..cb2f39eff 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1902,6 +1902,8 @@ cache_delete_resource_type_full (TrackerData *data,
if (strcmp (tracker_class_get_uri (class), TRACKER_PREFIX_RDFS "Resource") == 0 &&
g_hash_table_size (data->resource_buffer->tables) == 0) {
tracker_db_interface_sqlite_fts_delete_id (iface, database, data->resource_buffer->id);
+ data->resource_buffer->fts_updated = TRUE;
+
/* skip subclass query when deleting whole resource
to improve performance */