tracker r1732 - branches/indexer-split/src/trackerd
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1732 - branches/indexer-split/src/trackerd
- Date: Mon, 23 Jun 2008 10:21:59 +0000 (UTC)
Author: pvanhoof
Date: Mon Jun 23 10:21:59 2008
New Revision: 1732
URL: http://svn.gnome.org/viewvc/tracker?rev=1732&view=rev
Log:
file-meta prefixing not needed anymore
Modified:
branches/indexer-split/src/trackerd/tracker-xesam-query.c
Modified: branches/indexer-split/src/trackerd/tracker-xesam-query.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-xesam-query.c (original)
+++ branches/indexer-split/src/trackerd/tracker-xesam-query.c Mon Jun 23 10:21:59 2008
@@ -1306,7 +1306,7 @@
table_name = "Services";
data.sql_from = g_string_new ("");
- g_string_append_printf (data.sql_from, " FROM 'file-meta'.%s S ", table_name);
+ g_string_append_printf (data.sql_from, " FROM %s S ", table_name);
data.sql_join = g_string_new ("");
data.sql_where = g_string_new ("");
@@ -1342,7 +1342,7 @@
if (!tracker_field_data_get_is_condition (l->data)) {
if (tracker_field_data_get_needs_join (l->data)) {
g_string_append_printf (data.sql_join,
- " LEFT OUTER JOIN 'file-meta'.%s %s ON (S.ID = %s.ServiceID and %s.MetaDataID = %s) ",
+ " LEFT OUTER JOIN %s %s ON (S.ID = %s.ServiceID and %s.MetaDataID = %s) ",
tracker_field_data_get_table_name (l->data),
tracker_field_data_get_alias (l->data),
tracker_field_data_get_alias (l->data),
@@ -1355,7 +1355,7 @@
related_metadata = tracker_db_metadata_get_related_names (iface,
tracker_field_data_get_field_name (l->data));
g_string_append_printf (data.sql_join,
- " INNER JOIN 'file-meta'.%s %s ON (S.ID = %s.ServiceID and %s.MetaDataID in (%s)) ",
+ " INNER JOIN %s %s ON (S.ID = %s.ServiceID and %s.MetaDataID in (%s)) ",
tracker_field_data_get_table_name (l->data),
tracker_field_data_get_alias (l->data),
tracker_field_data_get_alias (l->data),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]