tracker r1741 - in branches/indexer-split: . src/tracker-indexer
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1741 - in branches/indexer-split: . src/tracker-indexer
- Date: Tue, 24 Jun 2008 08:29:23 +0000 (UTC)
Author: pvanhoof
Date: Tue Jun 24 08:29:23 2008
New Revision: 1741
URL: http://svn.gnome.org/viewvc/tracker?rev=1741&view=rev
Log:
2008-06-24 Philip Van Hoof <pvanhoof gnome org>
src/tracker-indexer/tracker-indexer.c: The table Events for
tracker_db_create_event only exists in cache.db, not in common.db,
therefore patched it to use a priv->cache instead of priv->common
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/tracker-indexer.c
Modified: branches/indexer-split/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-indexer.c (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-indexer.c Tue Jun 24 08:29:23 2008
@@ -82,6 +82,7 @@
TrackerDBInterface *metadata;
TrackerDBInterface *contents;
TrackerDBInterface *common;
+ TrackerDBInterface *cache;
TrackerConfig *config;
TrackerLanguage *language;
@@ -286,6 +287,7 @@
priv->index = tracker_index_new (index_file,
tracker_config_get_max_bucket_count (priv->config));
+ priv->cache = tracker_db_manager_get_db_interface (TRACKER_DB_CACHE);
priv->common = tracker_db_manager_get_db_interface (TRACKER_DB_COMMON);
priv->metadata = tracker_db_manager_get_db_interface (TRACKER_DB_FILE_METADATA);
priv->contents = tracker_db_manager_get_db_interface (TRACKER_DB_FILE_CONTENTS);
@@ -435,7 +437,7 @@
eid = tracker_db_get_new_event_id (priv->common);
- tracker_db_create_event (priv->common, eid, id, "Create");
+ tracker_db_create_event (priv->cache, eid, id, "Create");
tracker_db_increment_stats (priv->common, service);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]