tracker r1520 - branches/xesam-support/src/trackerd
- From: mottela svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1520 - branches/xesam-support/src/trackerd
- Date: Wed, 28 May 2008 15:04:54 +0000 (UTC)
Author: mottela
Date: Wed May 28 15:04:54 2008
New Revision: 1520
URL: http://svn.gnome.org/viewvc/tracker?rev=1520&view=rev
Log:
Fixed live search to use sql_join field.
Modified:
branches/xesam-support/src/trackerd/tracker-db-sqlite.c
branches/xesam-support/src/trackerd/tracker-xesam-live-search.c
Modified: branches/xesam-support/src/trackerd/tracker-db-sqlite.c
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-db-sqlite.c (original)
+++ branches/xesam-support/src/trackerd/tracker-db-sqlite.c Wed May 28 15:04:54 2008
@@ -3345,12 +3345,12 @@
* INTO LiveSearches
* SELECT ID, SEARCH_ID FROM_QUERY WHERE_QUERY */
- g_debug ("INSERT INTO LiveSearches SELECT S.ID, '%s' %s %s",
- search_id, from_query, where_query);
+ g_debug ("INSERT INTO LiveSearches SELECT S.ID, '%s' %s %s %s",
+ search_id, from_query, join_query, where_query);
tracker_db_exec_no_reply (db_con->db,
- "INSERT INTO LiveSearches SELECT S.ID, '%s' %s %s",
- search_id, from_query, where_query);
+ "INSERT INTO LiveSearches SELECT S.ID, '%s' %s %s %s",
+ search_id, from_query, join_query, where_query);
}
Modified: branches/xesam-support/src/trackerd/tracker-xesam-live-search.c
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-xesam-live-search.c (original)
+++ branches/xesam-support/src/trackerd/tracker-xesam-live-search.c Wed May 28 15:04:54 2008
@@ -728,6 +728,7 @@
get_all_hits (self, db_con, &hits);
if (hits && hits->len > 0) {
+ g_debug ("Emitting HitsAdded");
tracker_xesam_live_search_emit_hits_added (self, hits->len);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]