diff options
author | Myungki Lee <mk5004.lee@samsung.com> | 2017-11-20 18:28:24 +0900 |
---|---|---|
committer | Myungki Lee <mk5004.lee@samsung.com> | 2017-11-20 18:28:24 +0900 |
commit | 16a9d7c410dd8914702e3ff7af363a4f5b793726 (patch) | |
tree | 83275ff6d0ea0a49f63e2d6afa86f9686a479b0a | |
parent | e9b73fc40198f078aba567ed26780f3517f6b957 (diff) | |
download | badge-16a9d7c410dd8914702e3ff7af363a4f5b793726.tar.gz badge-16a9d7c410dd8914702e3ff7af363a4f5b793726.tar.bz2 badge-16a9d7c410dd8914702e3ff7af363a4f5b793726.zip |
Add integrity_check when db table create
Change-Id: I3102b4233f05bbbffd2fd087089f426bab8276dc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rwxr-xr-x | src/badge_db.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/badge_db.c b/src/badge_db.c index 693903e..fa61e33 100755 --- a/src/badge_db.c +++ b/src/badge_db.c @@ -30,6 +30,7 @@ #define CREATE_BADGE_TABLE " \ PRAGMA journal_mode = PERSIST; \ PRAGMA synchronous = FULL; \ +PRAGMA integrity_check; \ CREATE TABLE IF NOT EXISTS badge_data ( \ uid INTEGER, \ pkgname TEXT NOT NULL, \ |