[tracker/domain-specific-indexes-review] squash (earlier unneeded change)



commit 8dfbb7e337376efb3b1f31fe5082c6de210825fe
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jul 6 15:47:28 2010 +0200

    squash (earlier unneeded change)

 src/libtracker-data/tracker-data-manager.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 176579c..ecc3c57 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -2275,7 +2275,7 @@ create_decomposed_metadata_tables (TrackerDBInterface *iface,
 						copy_schedule = g_ptr_array_new_with_free_func (g_free);
 					}
 
-					if (tracker_property_get_is_new_domain_index (property)) {
+					if (is_domain_index && tracker_property_get_is_new_domain_index (property)) {
 						schedule_copy (copy_schedule, property, field_name, NULL);
 					}
 
@@ -2292,7 +2292,7 @@ create_decomposed_metadata_tables (TrackerDBInterface *iface,
 					g_string_append_printf (create_sql, ", \"%s:graph\" INTEGER",
 					                        field_name);
 
-					if (tracker_property_get_is_new_domain_index (property)) {
+					if (is_domain_index && tracker_property_get_is_new_domain_index (property)) {
 						schedule_copy (copy_schedule, property, field_name, ":graph");
 					}
 
@@ -2303,7 +2303,7 @@ create_decomposed_metadata_tables (TrackerDBInterface *iface,
 						                        tracker_property_get_name (property),
 						                        tracker_property_get_name (property));
 
-						if (tracker_property_get_is_new_domain_index (property)) {
+						if (is_domain_index && tracker_property_get_is_new_domain_index (property)) {
 							schedule_copy (copy_schedule, property, field_name, ":localTime");
 							schedule_copy (copy_schedule, property, field_name, ":localDate");
 						}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]