Match columns of storage with filter keyword 33/203233/1
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 11 Apr 2019 03:52:48 +0000 (12:52 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 11 Apr 2019 03:52:48 +0000 (12:52 +0900)
Change-Id: Ia7c9fd3eaeb8a683bb91fc50324c6b3a8560d30f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/common/media-common-db-svc.c

index 098be11..ca21db1 100755 (executable)
@@ -698,7 +698,7 @@ int ms_get_storage_list(sqlite3 *handle, GArray **storage_array)
        int ret = MS_MEDIA_ERR_NONE;
        sqlite3_stmt *sql_stmt = NULL;
 
-       char *sql = sqlite3_mprintf("SELECT storage_path, storage_uuid FROM storage WHERE validity = 1");
+       char *sql = sqlite3_mprintf("SELECT storage_path, storage_id FROM storage WHERE validity=1");
 
        ret = media_db_get_result(handle, sql, &sql_stmt);
        if (ret != MS_MEDIA_ERR_NONE) {