Remove wrapping struct 83/194183/1
authorMinje Ahn <minje.ahn@samsung.com>
Fri, 30 Nov 2018 01:35:50 +0000 (10:35 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Fri, 30 Nov 2018 01:35:50 +0000 (10:35 +0900)
Use sqlite3 Explicitly

Change-Id: Ic591f1de449c1b8019dcc799285d2a12877f9cb0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/util/media-thumb-db.c

index 3326fb3..6f2d604 100755 (executable)
@@ -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");