summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-07-11 01:53:47 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-07-11 01:53:47 (GMT)
commit86c10c47be22e9caa4c8c2106437136a123ec3ac (patch)
tree9e3d56013c0e2bd16dda905b58e1f2bb700fb7a8 /src/include
parenta0279549d93bc61a5edea68e819a53f2668b0915 (diff)
downloadlibmedia-thumbnail-86c10c47be22e9caa4c8c2106437136a123ec3ac.zip
libmedia-thumbnail-86c10c47be22e9caa4c8c2106437136a123ec3ac.tar.gz
libmedia-thumbnail-86c10c47be22e9caa4c8c2106437136a123ec3ac.tar.bz2
Remove width, height from UPDATE queryrefs/changes/38/138038/1
width, height value is updated by extract metadata Change-Id: Ife112a4e80ddb6821764904d9165c46ae3fe7093 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/util/media-thumb-db.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/util/media-thumb-db.h b/src/include/util/media-thumb-db.h
index f5020c0..6156d10 100755
--- a/src/include/util/media-thumb-db.h
+++ b/src/include/util/media-thumb-db.h
@@ -31,10 +31,9 @@
#define SELECT_THUMB_BY_PATH "SELECT thumbnail_path, width, height FROM media WHERE path='%q' AND thumbnail_path IS NOT NULL;"
#define UPDATE_THUMB_BY_PATH "UPDATE media SET thumbnail_path = '%q' WHERE path='%q';"
-#define UPDATE_THUMB_WH_BY_PATH "UPDATE media SET thumbnail_path = '%q', width=%d,height=%d WHERE path='%q';"
int _media_thumb_get_thumb_from_db_with_size(const char *origin_path, char *thumb_path, int max_length, int *width, int *height, uid_t uid);
-int _media_thumb_update_db(const char *origin_path, char *thumb_path, int width, int height, uid_t uid);
+int _media_thumb_update_db(const char *origin_path, char *thumb_path, uid_t uid);
#endif /*_MEDIA_THUMB_DB_H_*/