From: Jiyong Min Date: Mon, 12 Sep 2016 10:48:30 +0000 (+0900) Subject: Modify user_version of is_360 column X-Git-Tag: accepted/tizen/3.0/ivi/20161011.044414~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F87974%2F1;p=platform%2Fcore%2Fmultimedia%2Flibmedia-service.git Modify user_version of is_360 column - PROBLEM When media.db was kept by fota upgrade, the is_360 column is not exist. The user_version of is_360 is not matched with updated version. [Solution] The user_version of is_360 is changed to 3.0 version. Change-Id: Ic635929780b7cc3027da4b665d68381e7537216a Signed-off-by: Jiyong Min --- diff --git a/packaging/libmedia-service.spec b/packaging/libmedia-service.spec index 7c3e505..c2d1c66 100644 --- a/packaging/libmedia-service.spec +++ b/packaging/libmedia-service.spec @@ -1,6 +1,6 @@ Name: libmedia-service Summary: Media information service library for multimedia applications -Version: 0.2.81 +Version: 0.2.82 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 and public domain diff --git a/src/common/media-svc-db-utils.c b/src/common/media-svc-db-utils.c index a198ab4..bb04498 100755 --- a/src/common/media-svc-db-utils.c +++ b/src/common/media-svc-db-utils.c @@ -752,7 +752,7 @@ int _media_svc_init_table_query(const char *event_table_name) media_svc_retv_if(ret != MS_MEDIA_ERR_NONE, ret); ret = __media_svc_add_column_info(&column_list[MEDIA_SVC_DB_LIST_MEDIA], "color_b", MEDIA_SVC_DB_TYPE_INT, NULL, USER_V5, NULL, false, false, false); media_svc_retv_if(ret != MS_MEDIA_ERR_NONE, ret); - ret = __media_svc_add_column_info(&column_list[MEDIA_SVC_DB_LIST_MEDIA], "is_360", MEDIA_SVC_DB_TYPE_INT, "DEFAULT 0", USER_V2, NULL, false, false, true); + ret = __media_svc_add_column_info(&column_list[MEDIA_SVC_DB_LIST_MEDIA], "is_360", MEDIA_SVC_DB_TYPE_INT, "DEFAULT 0", USER_V5, NULL, false, false, true); media_svc_retv_if(ret != MS_MEDIA_ERR_NONE, ret); /*folder*/