Updating branch refs/heads/master
to a83cea4964a5c4395d4ef591e483fa017fd93227 (commit)
from 1e7ee7db5cd8daba906da66ba4c0cd1c3807565c (commit)
commit a83cea4964a5c4395d4ef591e483fa017fd93227
Author: Christian Dywan <[email protected]>
Date: Tue Mar 6 20:08:51 2012 +0100
Allow asynchronous cookie database
Arguably cookies are like a cache, so we prefer
prefer performance over data integrity.
katze/katze-http-cookies-sqlite.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/katze/katze-http-cookies-sqlite.c
b/katze/katze-http-cookies-sqlite.c
index d97dc32..bf4b503 100644
--- a/katze/katze-http-cookies-sqlite.c
+++ b/katze/katze-http-cookies-sqlite.c
@@ -95,7 +95,8 @@ katze_http_cookies_sqlite_open_db (KatzeHttpCookiesSqlite*
http_cookies)
}
sqlite3_exec (http_cookies->db,
- /* "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY" */
+ /* Arguably cookies are like a cache, so performance over integrity */
+ "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY;"
"PRAGMA count_changes = OFF; PRAGMA journal_mode = TRUNCATE;",
NULL, NULL, &error);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits