[evolution-data-server/gnome-2-28] Use SQLite's default cache size of 2000 pages in folders.db
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-28] Use SQLite's default cache size of 2000 pages in folders.db
- Date: Tue, 27 Oct 2009 01:55:06 +0000 (UTC)
commit 0fa2e95b03a1748fda49ff0cf59438833454489e
Author: C de-Avillez <hggdh2 gmail com>
Date: Mon Oct 26 21:53:25 2009 -0400
Use SQLite's default cache size of 2000 pages in folders.db
This can still be overridden via CAMEL_SQLITE_DEFAULT_CACHE_SIZE.
camel/camel-db.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-db.c b/camel/camel-db.c
index a04d982..e88b530 100644
--- a/camel/camel-db.c
+++ b/camel/camel-db.c
@@ -431,8 +431,6 @@ camel_db_open (const gchar *path, CamelException *ex)
/* Which is big / costlier ? A Stack frame or a pointer */
if (g_getenv("CAMEL_SQLITE_DEFAULT_CACHE_SIZE")!=NULL)
cache = g_strdup_printf ("PRAGMA cache_size=%s", g_getenv("CAMEL_SQLITE_DEFAULT_CACHE_SIZE"));
- else
- cache = g_strdup ("PRAGMA cache_size=100");
camel_db_command (cdb, cache, NULL);
g_free (cache);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]