tracker r2605 - branches/turtle/src/libtracker-data
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2605 - branches/turtle/src/libtracker-data
- Date: Thu, 27 Nov 2008 16:50:23 +0000 (UTC)
Author: pvanhoof
Date: Thu Nov 27 16:50:23 2008
New Revision: 2605
URL: http://svn.gnome.org/viewvc/tracker?rev=2605&view=rev
Log:
Support for removal predicates in the optimizer
Modified:
branches/turtle/src/libtracker-data/tracker-turtle.c
Modified: branches/turtle/src/libtracker-data/tracker-turtle.c
==============================================================================
--- branches/turtle/src/libtracker-data/tracker-turtle.c (original)
+++ branches/turtle/src/libtracker-data/tracker-turtle.c Thu Nov 27 16:50:23 2008
@@ -151,7 +151,7 @@
/* TODO: Add conflict resolution here (if any is needed) */
if (triple->object_type == RAPTOR_IDENTIFIER_TYPE_RESOURCE) {
- if (g_str_has_prefix (predicate, "file://")) {
+ if (g_str_has_suffix (predicate, ":")) {
/* <URI> <:> <:> */
g_hash_table_destroy (info->hash);
g_free (info->last_subject);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]