Fix svace issue. 07/103207/1 accepted/tizen/3.0/common/20161208.153754 accepted/tizen/3.0/ivi/20161208.063715 accepted/tizen/3.0/mobile/20161208.063705 accepted/tizen/3.0/tv/20161208.063426 accepted/tizen/3.0/wearable/20161208.063711 accepted/tizen/common/20161208.135418 accepted/tizen/ivi/20161209.005039 accepted/tizen/mobile/20161209.004943 accepted/tizen/tv/20161209.005000 accepted/tizen/wearable/20161209.005021 submit/tizen/20161208.011612 submit/tizen_3.0/20161208.010713
authorjaekuk, lee <juku1999@samsung.com>
Wed, 7 Dec 2016 14:38:52 +0000 (23:38 +0900)
committerjaekuk, lee <juku1999@samsung.com>
Wed, 7 Dec 2016 14:38:52 +0000 (23:38 +0900)
Change-Id: Ib790cd177c18b2783618a60b52eb922af4c2af01
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
packaging/download-provider.spec
provider/download-provider-db.c

index fb96ddf..f0f3a3b 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:       download-provider
 Summary:    Download the contents in background
-Version:    2.1.66
+Version:    2.1.67
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
index dfc70c4..0e81fc4 100755 (executable)
@@ -585,7 +585,7 @@ int dp_db_get_client_property_string(void *handle, const char *pkgname, const ch
                        TRACE_ERROR("check column type:%d", data_type);
                        *error = DP_ERROR_NO_DATA;
                }
-       } else if (errorcode == SQLITE_ROW) {
+       } else if (errorcode == SQLITE_DONE) {
                TRACE_DEBUG("no data");
                *error = DP_ERROR_NO_DATA;
        } else {
@@ -788,7 +788,7 @@ int dp_db_get_property_string(void *handle, const int id, const char *table, con
                        //TRACE_ERROR("check column type:%d", data_type);
                        *error = DP_ERROR_NO_DATA;
                }
-       } else if (errorcode == SQLITE_ROW) {
+       } else if (errorcode == SQLITE_DONE) {
                TRACE_DEBUG("no data");
                *error = DP_ERROR_NO_DATA;
        } else {
@@ -1057,7 +1057,7 @@ int dp_db_get_header_value(void *handle, const int id, const char *field, unsign
                        TRACE_ERROR("check column type:%d", data_type);
                        *error = DP_ERROR_NO_DATA;
                }
-       } else if (errorcode == SQLITE_ROW) {
+       } else if (errorcode == SQLITE_DONE) {
                TRACE_DEBUG("no data");
                *error = DP_ERROR_NO_DATA;
        } else {
@@ -1207,7 +1207,7 @@ int dp_db_get_cond_string(void *handle, const char *table, char *wherecolumn, co
                        TRACE_ERROR("check column type:%d", data_type);
                        *error = DP_ERROR_NO_DATA;
                }
-       } else if (errorcode == SQLITE_ROW) {
+       } else if (errorcode == SQLITE_DONE) {
                TRACE_DEBUG("no data");
                *error = DP_ERROR_NO_DATA;
        } else {