summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-11-30 01:35:50 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2018-11-30 01:35:50 (GMT)
commit8c0590e26f7afdbde048bf28b839e4369ff2192f (patch)
tree1c30ad876bb5a13f05c6774aaba73bb3ea45b02d /src
parente515d42c5e6a3c685eab494217dcc103bda6b7d9 (diff)
downloadlibmedia-thumbnail-8c0590e26f7afdbde048bf28b839e4369ff2192f.zip
libmedia-thumbnail-8c0590e26f7afdbde048bf28b839e4369ff2192f.tar.gz
libmedia-thumbnail-8c0590e26f7afdbde048bf28b839e4369ff2192f.tar.bz2
Remove wrapping structrefs/changes/83/194183/1
Use sqlite3 Explicitly Change-Id: Ic591f1de449c1b8019dcc799285d2a12877f9cb0 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/util/media-thumb-db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/media-thumb-db.c b/src/util/media-thumb-db.c
index 3326fb3..6f2d604 100755
--- a/src/util/media-thumb-db.c
+++ b/src/util/media-thumb-db.c
@@ -32,7 +32,7 @@ int _media_thumb_get_thumb_from_db(const char *origin_path, char *thumb_path, in
int err = MS_MEDIA_ERR_NONE;
char *query_string = NULL;
sqlite3_stmt *stmt = NULL;
- MediaDBHandle *db_handle = NULL;
+ sqlite3 *db_handle = NULL;
thumb_retvm_if(!STRING_VALID(origin_path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid origin_path");
@@ -80,7 +80,7 @@ int __media_thumb_get_storage_id(const char *origin_path, uid_t uid, char **stor
int err = MS_MEDIA_ERR_NONE;
char *query_string = NULL;
sqlite3_stmt *stmt = NULL;
- MediaDBHandle *db_handle = NULL;
+ sqlite3 *db_handle = NULL;
thumb_retvm_if(!STRING_VALID(origin_path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid origin_path");