}
if (sqlite3_step(sql_stmt) != SQLITE_ROW) {
- MS_DBG_ERR("[No-Error] Item not found. end of row [%s]", sqlite3_errmsg(handle));
ret = MS_MEDIA_ERR_DB_NO_RECORD;
} else {
modified_time = (int)sqlite3_column_int(sql_stmt, 0);
int ret = MS_MEDIA_ERR_NONE;
ret = ((GET_AND_EXTRACT_MEDIA)func_array[eGET_AND_EXTRACT_MEDIA])(handle, storage_id, scan_type, path); /*dlopen*/
- MS_DBG_RETVM_IF(ret != MS_MEDIA_ERR_NONE, ret, "GET_EXTRACT_LIST failed [%d]", ret);
+ if (ret != MS_MEDIA_ERR_NONE && ret != MS_MEDIA_ERR_DB_NO_RECORD)
+ MS_DBG_ERR("GET_AND_EXTRACT_MEDIA failed [%d]", ret);
return ret;
}