sync code with tizen_3.0 branch 95/100595/1 accepted/tizen/common/20161130.070807 accepted/tizen/ivi/20161130.232423 accepted/tizen/mobile/20161130.232329 accepted/tizen/wearable/20161130.232402 submit/tizen/20161129.100201 submit/tizen/20161130.051215
authorIckhee Woo <ickhee.woo@samsung.com>
Mon, 28 Nov 2016 12:54:18 +0000 (21:54 +0900)
committerIckhee Woo <ickhee.woo@samsung.com>
Mon, 28 Nov 2016 12:54:18 +0000 (21:54 +0900)
Change-Id: Ie84098452fef413fde1fce7a6385fe417009661b
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
common/include/account_db_helper.h
packaging/account-common.spec

index 34b91c0..e129aba 100644 (file)
            do { \
                        snprintf(dest, size-1, "%s%d", tzplatform_mkpath(TZ_SYS_DB, "/"), uid); \
                } while (0)
-#define ACCOUNT_GET_GLOBAL_DB_PATH(dest, size) \
+#define ACCOUNT_GET_OWNER_DB_PATH(dest, size, uid) \
            do { \
-                       snprintf(dest, size-1, "%s", tzplatform_mkpath(TZ_SYS_DB, "/.account.db")); \
+                       snprintf(dest, size-1, "%s%d%s", tzplatform_mkpath(TZ_SYS_DB, "/"), uid, "/.account.db"); \
                } while (0)
 #define ACCOUNT_GET_GLOBAL_JN_PATH(dest, size) \
            do { \
index 7d5c605..3b5728b 100644 (file)
@@ -1,7 +1,7 @@
 
 Name:       account-common
 Summary:    Account common library
-Version:    0.1.1
+Version:    0.1.2
 Release:    1
 Group:      Social & Content/API
 License:    Apache-2.0