[tracker/tracker-0.16] libtracker-data: Don't use the count_changes PRAGMA, it is deprecated
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.16] libtracker-data: Don't use the count_changes PRAGMA, it is deprecated
- Date: Wed, 31 Jul 2013 22:31:14 +0000 (UTC)
commit 09f266167980251bba1f32167ade2b76d4a019fc
Author: Martyn Russell <martyn lanedo com>
Date: Fri Jul 19 14:32:28 2013 +0100
libtracker-data: Don't use the count_changes PRAGMA, it is deprecated
See SQLite manual section here:
http://www.sqlite.org/pragma.html#pragma_count_changes
src/libtracker-data/tracker-db-manager.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-manager.c b/src/libtracker-data/tracker-db-manager.c
index a799671..f989af7 100644
--- a/src/libtracker-data/tracker-db-manager.c
+++ b/src/libtracker-data/tracker-db-manager.c
@@ -241,7 +241,6 @@ db_set_params (TrackerDBInterface *iface,
#else
tracker_db_interface_execute_query (iface, NULL, "PRAGMA synchronous = OFF;");
#endif /* DISABLE_JOURNAL */
- 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\"");
tracker_db_interface_execute_query (iface, NULL, "PRAGMA auto_vacuum = 0;");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]