[tracker/async-queries-wip: 16/23] WIP
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries-wip: 16/23] WIP
- Date: Thu, 15 Apr 2010 12:14:09 +0000 (UTC)
commit a01bfa00b831645ef31eae9b188e1e383cfacb35
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 14 12:14:30 2010 +0200
WIP
src/libtracker-db/tracker-db-interface-sqlite.c | 4 ++--
src/libtracker-db/tracker-db-manager.c | 5 +++--
src/tracker-store/tracker-store.c | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index dc702f6..65e6424 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -141,8 +141,8 @@ G_DEFINE_TYPE_WITH_CODE (TrackerDBCursorSqlite, tracker_db_cursor_sqlite, G_TYPE
void
tracker_db_interface_sqlite_enable_shared_cache (void)
{
- sqlite3_config (SQLITE_CONFIG_MULTITHREAD);
- sqlite3_enable_shared_cache (1);
+ //sqlite3_config (SQLITE_CONFIG_MULTITHREAD);
+ //sqlite3_enable_shared_cache (1);
}
static void
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index 496450e..7dfded5 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1312,10 +1312,11 @@ interface_pool_dispatch_cb (gpointer data,
/* Ensure the interface is there */
if (!interface) {
- interface = tracker_db_manager_get_db_interfaces (3,
+ /*interface = tracker_db_manager_get_db_interfaces (3,
TRACKER_DB_METADATA,
TRACKER_DB_FULLTEXT,
- TRACKER_DB_CONTENTS);
+ TRACKER_DB_CONTENTS);*/
+ interface = g_object_ref (resources_iface);
g_static_private_set (&interface_data_key,
interface,
diff --git a/src/tracker-store/tracker-store.c b/src/tracker-store/tracker-store.c
index fcc9af3..f80f185 100644
--- a/src/tracker-store/tracker-store.c
+++ b/src/tracker-store/tracker-store.c
@@ -35,7 +35,7 @@
#include "tracker-store.h"
#define TRACKER_STORE_TRANSACTION_MAX 4000
-#define TRACKER_STORE_MAX_CONCURRENT_QUERIES 1
+#define TRACKER_STORE_MAX_CONCURRENT_QUERIES 8
typedef struct {
gboolean have_handler, have_sync_handler;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]