tracker r2902 - in trunk: . src/libtracker-db
- From: jamiemcc svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2902 - in trunk: . src/libtracker-db
- Date: Mon, 9 Feb 2009 03:43:36 +0000 (UTC)
Author: jamiemcc
Date: Mon Feb 9 03:43:36 2009
New Revision: 2902
URL: http://svn.gnome.org/viewvc/tracker?rev=2902&view=rev
Log:
2009-02-08 Jamie McCracken <jamiemcc at gnome org>
* src/libtracker-db/tracker-db-manager.c:
Use full synchronous in sqlite to minimize corruption
Modified:
trunk/ChangeLog
trunk/src/libtracker-db/tracker-db-manager.c
Modified: trunk/src/libtracker-db/tracker-db-manager.c
==============================================================================
--- trunk/src/libtracker-db/tracker-db-manager.c (original)
+++ trunk/src/libtracker-db/tracker-db-manager.c Mon Feb 9 03:43:36 2009
@@ -1612,7 +1612,7 @@
gint page_size,
gboolean add_functions)
{
- tracker_db_interface_execute_query (iface, NULL, "PRAGMA synchronous = NORMAL;");
+ tracker_db_interface_execute_query (iface, NULL, "PRAGMA synchronous = FULL;");
tracker_db_interface_execute_query (iface, NULL, "PRAGMA count_changes = 0;");
tracker_db_interface_execute_query (iface, NULL, "PRAGMA temp_store = FILE;");
tracker_db_interface_execute_query (iface, NULL, "PRAGMA encoding = \"UTF-8\"");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]