Add integrity_check when db table create 66/160866/1
authorMyungki Lee <mk5004.lee@samsung.com>
Mon, 20 Nov 2017 09:28:54 +0000 (18:28 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Mon, 20 Nov 2017 09:28:54 +0000 (18:28 +0900)
Change-Id: Ie4df959bf8deb4272f6bf2e28b72129bc1e2a05c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
lib/src/shortcut_db.c

index 7c243a8..fd73d8b 100755 (executable)
@@ -29,6 +29,7 @@
 
 #define QUERY_CREATE_SHORTCUT_TABLE \
        "PRAGMA journal_mode = PERSIST;" \
+       "PRAGMA integrity_check;" \
        "CREATE TABLE IF NOT EXISTS shortcut_service (\n" \
        "  id INTEGER PRIMARY KEY AUTOINCREMENT,\n" \
        "  pkgid TEXT,\n" \