[evolution-data-server] Use SQLite's default cache size of 2000 pages in folders.db



commit 181fe09402e1dbbac33b1553edb70d5b51439b89
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 1729f3b..c888c53 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]