From: Minje Ahn Date: Wed, 16 Jan 2019 05:41:13 +0000 (+0900) Subject: Add miss define X-Git-Tag: accepted/tizen/unified/20190116.160715^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F197747%2F1;p=platform%2Fcore%2Fapi%2Fmedia-content.git Add miss define Change-Id: I5d5b8a4e1f008059c95caa2dfd7bf25515d37df5 Signed-off-by: Minje Ahn --- diff --git a/include_product/media_info_private.h b/include_product/media_info_private.h index 5e03ddc..724353f 100755 --- a/include_product/media_info_private.h +++ b/include_product/media_info_private.h @@ -721,6 +721,9 @@ typedef struct _media_content_scan_cb_data_v2 { #define UPDATE_BOOKMARK_FROM_BOOKMARK "UPDATE "DB_TABLE_BOOKMARK" SET name=%Q WHERE bookmark_id=%d;" +/* Update Meta*/ +#define UPDATE_IMAGE_META_FROM_MEDIA "UPDATE '%s' SET orientation=%d WHERE media_uuid='%q'" + #define SELECT_MEDIA_ITEM "SELECT "MEDIA_INFO_ITEM" FROM '%s' WHERE validity=1" #define SELECT_MEDIA_FROM_MEDIA "SELECT "MEDIA_INFO_ITEM" FROM '%s' WHERE validity=1 AND media_uuid='%s'" #define SELECT_MEDIA_BY_PATH "SELECT "MEDIA_INFO_ITEM" FROM '%s' WHERE validity=1 AND path='%q'"