From: Myungki Lee Date: Mon, 20 Nov 2017 08:19:06 +0000 (+0900) Subject: Add integrity_check when db table create X-Git-Tag: submit/tizen/20171120.105459~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1411d90bddb49ba7ee2b8e6dec1ee31aef78e7c7;p=platform%2Fcore%2Fapi%2Fnotification.git Add integrity_check when db table create Change-Id: Ie6e88838f5e5bc9b5f1715992c44dd7ba0d8da60 Signed-off-by: Myungki Lee --- diff --git a/src/notification_db_query.h b/src/notification_db_query.h index ef11a451..6a22573b 100755 --- a/src/notification_db_query.h +++ b/src/notification_db_query.h @@ -22,6 +22,7 @@ #define CREATE_NOTIFICATION_TABLE \ "PRAGMA journal_mode = PERSIST;\n" \ "PRAGMA synchronous = FULL;\n" \ + "PRAGMA integrity_check;\n" \ "CREATE TABLE IF NOT EXISTS noti_list (\n" \ " type INTEGER NOT NULL,\n" \ " layout INTEGER NOT NULL DEFAULT 0,\n" \