projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8bede5
)
Add integrity_check when db table create
47/160847/2
author
Myungki Lee
<mk5004.lee@samsung.com>
Mon, 20 Nov 2017 08:19:06 +0000
(17:19 +0900)
committer
MyungKi 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
patch
|
blob
|
history
diff --git
a/src/notification_db_query.h
b/src/notification_db_query.h
index
ef11a45
..
6a22573
100755
(executable)
--- 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" \