[tracker] Bug 644484 - miner-fs not removing files from the store
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Bug 644484 - miner-fs not removing files from the store
- Date: Fri, 11 Mar 2011 13:57:23 +0000 (UTC)
commit afd27f25e039801ca036a44fbd302ecb43abee29
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 11 14:55:01 2011 +0100
Bug 644484 - miner-fs not removing files from the store
Fix silly typo that made uri-is-descendant() not work as expected.
Reported by Lionel Landwerlin.
src/libtracker-data/tracker-db-interface-sqlite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-interface-sqlite.c b/src/libtracker-data/tracker-db-interface-sqlite.c
index d090bc4..298a3c5 100644
--- a/src/libtracker-data/tracker-db-interface-sqlite.c
+++ b/src/libtracker-data/tracker-db-interface-sqlite.c
@@ -368,7 +368,7 @@ function_sparql_uri_is_descendant (sqlite3_context *context,
child = sqlite3_value_text (argv[argc-1]);
- for (i = 0; i < argc - 1 && match; i++) {
+ for (i = 0; i < argc - 1 && !match; i++) {
if (sqlite3_value_type (argv[i]) == SQLITE_TEXT) {
const gchar *parent = sqlite3_value_text (argv[i]);
guint parent_len = sqlite3_value_bytes (argv[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]