projects
/
platform
/
core
/
appfw
/
shortcut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef2643
)
Update db recover query
87/195887/1
author
mk5004.lee
<mk5004.lee@samsung.com>
Wed, 19 Dec 2018 07:10:35 +0000
(16:10 +0900)
committer
mk5004.lee
<mk5004.lee@samsung.com>
Wed, 19 Dec 2018 07:16:46 +0000
(16:16 +0900)
- add missed table(versioin)
Change-Id: I3ac3e2bb48c4a792bc24a4ed7fb3c96a060441e3
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
lib/src/shortcut_db.c
patch
|
blob
|
history
diff --git
a/lib/src/shortcut_db.c
b/lib/src/shortcut_db.c
index
d41b302
..
65cd203
100755
(executable)
--- a/
lib/src/shortcut_db.c
+++ b/
lib/src/shortcut_db.c
@@
-42,7
+42,9
@@
" pkgid TEXT,\n" \
" lang TEXT,\n" \
" name TEXT,\n" \
- " icon TEXT);"
+ " icon TEXT);\n" \
+ "CREATE TABLE IF NOT EXISTS version (\n" \
+ " version INTEGER);"
static bool is_db_corrupted = false;