[tracker/rss-enclosures] libtracker-data: Fix a critical on ontology change tracker:domainIndex



commit 98447de07cc581a379de915f082bbe3435b2cafc
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Nov 3 14:18:58 2010 +0200

    libtracker-data: Fix a critical on ontology change tracker:domainIndex

 src/libtracker-data/tracker-data-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 0fda936..a209719 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -2708,7 +2708,7 @@ create_decomposed_metadata_tables (TrackerDBInterface *iface,
 					                        sql_type_for_single_value);
 
 					if (g_ascii_strcasecmp (sql_type_for_single_value, "TEXT") == 0) {
-						g_string_append (create_sql, " COLLATE " TRACKER_COLLATION_NAME);
+						g_string_append (alter_sql, " COLLATE " TRACKER_COLLATION_NAME);
 					}
 
 					/* add DEFAULT in case that the ontology specifies a default value,



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