Add integrity_check when db table create 47/160847/2
authorMyungki Lee <mk5004.lee@samsung.com>
Mon, 20 Nov 2017 08:19:06 +0000 (17:19 +0900)
committerMyungKi Lee <mk5004.lee@samsung.com>
Mon, 20 Nov 2017 08:50:11 +0000 (08:50 +0000)
Change-Id: Ie6e88838f5e5bc9b5f1715992c44dd7ba0d8da60
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/notification_db_query.h

index ef11a45..6a22573 100755 (executable)
@@ -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" \