Dlog Print Format Updates 59/195259/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/5.5/unified/20191031.024300 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084157 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115204 accepted/tizen/6.0/unified/20201030.120728 accepted/tizen/6.0/unified/hotfix/20201103.050709 accepted/tizen/6.5/unified/20211028.101533 accepted/tizen/7.0/unified/20221110.061059 accepted/tizen/7.0/unified/hotfix/20221116.105248 accepted/tizen/8.0/unified/20231005.093310 accepted/tizen/unified/20181217.142108 submit/tizen/20181212.095503 submit/tizen/20181214.061228 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 submit/tizen_5.5_wearable_hotfix/20201026.184303 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 submit/tizen_6.5/20211028.162201 tizen_5.5.m2_release tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorDewal Agarwal <d1.agarwal@samsung.com>
Wed, 12 Dec 2018 04:35:42 +0000 (10:05 +0530)
committerDewal Agarwal <d1.agarwal@samsung.com>
Wed, 12 Dec 2018 04:35:42 +0000 (10:05 +0530)
Change-Id: I07ed42b436ad484619d5b96ffe713416d82170e7
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
src/server/ContextStore.cpp
src/server/Store.cpp

index 5f5c05b..3693e4c 100644 (file)
@@ -55,7 +55,7 @@ int ContextStore::insert(const std::string& columns, std::shared_ptr<Tuple> tupl
 
 int ContextStore::insert(const std::string& columns, std::vector<std::shared_ptr<Tuple>>& tuples)
 {
-       _D("[%s] %s, #records = %d", __isSystem ? "system" : "user", __uri.c_str(), tuples.size());
+       _D("[%s] %s, #records = %zd", __isSystem ? "system" : "user", __uri.c_str(), tuples.size());
 
        Store* store = __getStore(__hostService, __uri, __isSystem);
        IF_FAIL_RETURN_TAG(store, E_PARAM, _E, "Failed to find the store");
index c32ea44..7e0f797 100644 (file)
@@ -47,7 +47,7 @@ int Store::insert(IClient& client, const std::string& columns, std::vector<std::
        if (!__writable(client))
                return E_ACCESS;
 
-       _D("Inserting %u tuples of (%s) to %s", tuples.size(), columns.c_str(), metadata.uri.c_str());
+       _D("Inserting %zu tuples of (%s) to %s", tuples.size(), columns.c_str(), metadata.uri.c_str());
 
        int error = __getDatabase().insert(metadata.uri, columns, tuples) ? E_NONE : E_PARAM;
        tuples.clear();
@@ -56,7 +56,7 @@ int Store::insert(IClient& client, const std::string& columns, std::vector<std::
 
 int Store::insert(const std::string& columns, std::vector<std::shared_ptr<Tuple>>& tuples)
 {
-       _D("Inserting %u tuples of (%s) to %s", tuples.size(), columns.c_str(), metadata.uri.c_str());
+       _D("Inserting %zu tuples of (%s) to %s", tuples.size(), columns.c_str(), metadata.uri.c_str());
 
        int error = __getDatabase().insert(metadata.uri, columns, tuples) ? E_NONE : E_PARAM;
        tuples.clear();