projects
/
platform
/
core
/
appfw
/
app-svc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9806dea
)
Fix - user db not initialized
14/46814/1
tizen_3.0.m1_mobile
tizen_3.0.m1_tv
accepted/tizen/mobile/20150831.064136
accepted/tizen/tv/20150831.064149
accepted/tizen/wearable/20150831.064200
submit/tizen/20150831.023242
submit/tizen_common/20151015.190624
submit/tizen_common/20151019.135620
submit/tizen_common/20151023.083358
submit/tizen_common/20151026.085049
tizen_3.0.m1_mobile_release
tizen_3.0.m1_tv_release
author
Rafal Galka
<r.galka@samsung.com>
Wed, 26 Aug 2015 09:48:05 +0000
(11:48 +0200)
committer
Rafal Galka
<r.galka@samsung.com>
Wed, 26 Aug 2015 09:48:05 +0000
(11:48 +0200)
Change-Id: Ia63a18f6dbe3591d0ac3221a733478e5ee6d53bd
Signed-off-by: Rafal Galka <r.galka@samsung.com>
src/appsvc_db.c
patch
|
blob
|
history
diff --git
a/src/appsvc_db.c
b/src/appsvc_db.c
index
0d1f6af
..
3781581
100755
(executable)
--- a/
src/appsvc_db.c
+++ b/
src/appsvc_db.c
@@
-160,7
+160,7
@@
static int __init(uid_t uid)
return 0;
}
- rc = sqlite3_open_v2(getUserSvcDB(uid), &svc_db, SQLITE_OPEN_READ
ONLY
, NULL);
+ rc = sqlite3_open_v2(getUserSvcDB(uid), &svc_db, SQLITE_OPEN_READ
WRITE | SQLITE_OPEN_CREATE
, NULL);
if(rc) {
_E("Can't open database: %s", sqlite3_errmsg(svc_db));
goto err;