diff options
author | Hyunho Kang <hhstark.kang@samsung.com> | 2016-06-14 19:22:06 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-06-14 19:22:06 -0700 |
commit | edf750c3b4ac6c3457c9f630dfb66bf856516ade (patch) | |
tree | d45f5552423d536809beb36776f7de5547a4fc0f | |
parent | a949bdd32416e92ad9cdecaca98e8ef247d6ace2 (diff) | |
parent | 91297a25c43839a7e1e8712ee061bbe248475497 (diff) | |
download | notification-edf750c3b4ac6c3457c9f630dfb66bf856516ade.tar.gz notification-edf750c3b4ac6c3457c9f630dfb66bf856516ade.tar.bz2 notification-edf750c3b4ac6c3457c9f630dfb66bf856516ade.zip |
Merge "Fix unintended db creation bug" into tizen
-rwxr-xr-x | src/notification_setting.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/notification_setting.c b/src/notification_setting.c index c07015c..5d20d1c 100755 --- a/src/notification_setting.c +++ b/src/notification_setting.c @@ -416,8 +416,7 @@ EXPORT_API int notification_setting_refresh_setting_table(uid_t uid) setting_local_info info; NOTIFICATION_ERR("refresh seeting table [%d]", uid); - sqlite3_ret = db_util_open(DBPATH, &db, 0); - + sqlite3_ret = sqlite3_open_v2(DBPATH, &db, SQLITE_OPEN_READWRITE, NULL); if (sqlite3_ret != SQLITE_OK || db == NULL) { NOTIFICATION_ERR("db_util_open failed [%s][%d]", DBPATH, sqlite3_ret); err = NOTIFICATION_ERROR_FROM_DB; |