Remove query_do_update_list() 66/238966/1 accepted/tizen/unified/20200724.124245 submit/tizen/20200722.015458
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 21 Jul 2020 01:01:06 +0000 (10:01 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 21 Jul 2020 01:01:06 +0000 (10:01 +0900)
Modified update_one_extract_item() function to update DB directly.
So there is no need to call query_do_update_list() for update.
This patch only affects media-scanner-v2.

Change-Id: I1bacc8ad90eb97bd32fd95fe2b1ab127c3a65670
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
plugin/media-content-plugin.c

index d831e347e43420cb2478ffc4875bd5423365d118..ddbeccf605e6f773ea33b0920fefad6255bcf6d4 100755 (executable)
@@ -144,12 +144,6 @@ int update_one_extract_item(sqlite3 *handle, const char *storage_id, int storage
        return MS_MEDIA_ERR_NONE;
 }
 
-int query_do_update_list(sqlite3 *handle)
-{
-       /* For scanner V2 */
-       return MS_MEDIA_ERR_NONE;
-}
-
 int delete_all_invalid_items_in_folder(sqlite3 *handle, const char *storage_id, const char *path, bool is_recursive, uid_t uid)
 {
        /* For scanner V2 */