Delete db open for journal file 17/141817/1 submit/tizen_3.0/20170802.011015
authorJooseok Song <seogii.song@samsung.com>
Tue, 1 Aug 2017 12:16:28 +0000 (21:16 +0900)
committerJooseok Song <seogii.song@samsung.com>
Tue, 1 Aug 2017 12:16:28 +0000 (21:16 +0900)
Change-Id: I749cfe09de0c5d79cda1469797f40f7c4953c135

packaging/libaccount-service.spec
src/account_offline.c

index fa06c5b..6768e16 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libaccount-service
 Summary:    Account DB library
-Version:    0.4.16
+Version:    0.4.17
 Release:    1
 Group:      Social & Content/API
 License:    Apache-2.0
index 3991980..88c5c2d 100644 (file)
@@ -113,7 +113,6 @@ static int _account_user_db_open(sqlite3 **p_hAccountDB, int mode, uid_t uid)
                ret = chmod(account_db_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
                ACCOUNT_DEBUG("chmod result = [%d]", ret);
 
-               rc = db_util_open(account_db_jn_path, &g_hAccountGlobalDB, DB_UTIL_REGISTER_HOOK_METHOD);
                ret = chown(account_db_jn_path, SERVICE_FW_UID, SERVICE_FW_GID);
                ACCOUNT_DEBUG("chown result = [%d]", ret);
                ret = chmod(account_db_jn_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
@@ -205,7 +204,6 @@ static int _account_global_db_open(int mode)
                        ret = chmod(account_db_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
                        ACCOUNT_DEBUG("chmod result = [%d]", ret);
 
-                       rc = db_util_open(account_db_jn_path, &g_hAccountGlobalDB, DB_UTIL_REGISTER_HOOK_METHOD);
                        ret = chown(account_db_jn_path, SERVICE_FW_UID, SERVICE_FW_GID);
                        ACCOUNT_DEBUG("chown result = [%d]", ret);
                        ret = chmod(account_db_jn_path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);