Delete db open for journal file 16/141816/1 submit/tizen/20170802.010941
authorJooseok Song <seogii.song@samsung.com>
Tue, 1 Aug 2017 12:15:02 +0000 (21:15 +0900)
committerJooseok Song <seogii.song@samsung.com>
Tue, 1 Aug 2017 12:15:02 +0000 (21:15 +0900)
Change-Id: I127022de52e56e40cd0c5463cfa024f13ede3b1a

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

index a15b2d1..44f8d9f 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 1bec0b6..20982f3 100644 (file)
@@ -104,7 +104,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);
@@ -196,7 +195,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);