Change column name defined in query 32/98132/1 accepted/tizen/3.0/common/20161117.090614 accepted/tizen/3.0/ivi/20161117.083423 accepted/tizen/3.0/mobile/20161117.083328 accepted/tizen/3.0/tv/20161117.083341 accepted/tizen/3.0/wearable/20161117.083405 submit/tizen_3.0/20161116.081158
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 16 Nov 2016 07:56:39 +0000 (16:56 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 16 Nov 2016 07:56:39 +0000 (16:56 +0900)
- Change wrong column name

Change-Id: Ib45510caa14d17664358e84a3adf6e1fddbe94d3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgrinfo_private.c

index c1699fd..4a37976 100644 (file)
@@ -371,7 +371,7 @@ int __get_filter_condition(gpointer data, char **condition, GList **params)
                snprintf(buf, sizeof(buf), "ai.package=?");
                break;
        case E_PMINFO_APPINFO_PROP_APP_INSTALLED_STORAGE:
                snprintf(buf, sizeof(buf), "ai.package=?");
                break;
        case E_PMINFO_APPINFO_PROP_APP_INSTALLED_STORAGE:
-               snprintf(buf, sizeof(buf), "ai.installed_storage=?");
+               snprintf(buf, sizeof(buf), "ai.app_installed_storage=?");
                break;
        case E_PMINFO_APPINFO_PROP_APP_UI_GADGET:
                snprintf(buf, sizeof(buf), "ai.app_ui_gadget=? COLLATE NOCASE");
                break;
        case E_PMINFO_APPINFO_PROP_APP_UI_GADGET:
                snprintf(buf, sizeof(buf), "ai.app_ui_gadget=? COLLATE NOCASE");