[tracker/async-queries] libtracker-db: Use multi-thread instead of serialized mode in SQLite
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries] libtracker-db: Use multi-thread instead of serialized mode in SQLite
- Date: Wed, 14 Apr 2010 09:37:34 +0000 (UTC)
commit 23c2cb599fe6827ba20dcc538fb99bebbf30b794
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 14 11:08:41 2010 +0200
libtracker-db: Use multi-thread instead of serialized mode in SQLite
src/libtracker-db/tracker-db-interface-sqlite.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index 757a462..4ecde38 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -138,6 +138,7 @@ 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]