From 2a9b4f466ba8c6f856d1e450167d911763618a57 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 1 Sep 2016 16:12:42 +0900 Subject: Set db journal mode to OFF Change-Id: I09da7896b12484af5872845cc9d3131252a819b5 Signed-off-by: Hwankyu Jhun --- include/db-schema.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/db-schema.h b/include/db-schema.h index 74246a6..d7916e9 100644 --- a/include/db-schema.h +++ b/include/db-schema.h @@ -18,7 +18,7 @@ #define __RUA_SCHEMA_H__ #define CREATE_RUA_HISTORY_TABLE " \ -PRAGMA journal_mode = WAL; \ +PRAGMA journal_mode = OFF; \ \ CREATE TABLE IF NOT EXISTS rua_history ( \ pkg_name TEXT, \ @@ -29,7 +29,7 @@ CREATE TABLE IF NOT EXISTS rua_history ( \ );" #define CREATE_RUA_STAT_TABLE " \ -PRAGMA journal_mode = WAL; \ +PRAGMA journal_mode = OFF; \ \ CREATE TABLE if not exists rua_panel_stat ( \ caller_panel TEXT NOT NULL, \ -- cgit v1.2.3