[tracker/async-queries-wip: 19/23] disable shared cache mode
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries-wip: 19/23] disable shared cache mode
- Date: Thu, 15 Apr 2010 12:14:24 +0000 (UTC)
commit fbbc8e556ac4739083555a11e2af42c675251e5d
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 14 14:38:28 2010 +0200
disable shared cache mode
src/libtracker-db/tracker-db-interface-sqlite.c | 2 +-
src/tracker-store/tracker-store.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index dc702f6..f257014 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -142,7 +142,7 @@ void
tracker_db_interface_sqlite_enable_shared_cache (void)
{
sqlite3_config (SQLITE_CONFIG_MULTITHREAD);
- sqlite3_enable_shared_cache (1);
+ //sqlite3_enable_shared_cache (1);
}
static void
diff --git a/src/tracker-store/tracker-store.c b/src/tracker-store/tracker-store.c
index ba6a797..5537018 100644
--- a/src/tracker-store/tracker-store.c
+++ b/src/tracker-store/tracker-store.c
@@ -315,6 +315,8 @@ queue_idle_handler (gpointer user_data)
if (task->type == TRACKER_STORE_TASK_TYPE_QUERY) {
TrackerSparqlQuery *sparql_query;
+ end_batch (private);
+
private->n_queries_running++;
/* pop task now, otherwise further queries won't be scheduled */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]