"app_launch_mode, app_ui_gadget, app_support_mode, app_support_disable, component_type, package, " \
"app_tep_name, app_zip_mount_file, app_background_category, app_package_type, app_root_path, " \
"app_api_version, app_effective_appid, app_splash_screen_display, app_package_system, app_removable, " \
- "app_package_installed_time, app_support_mode) " \
+ "app_package_installed_time) " \
"VALUES(" \
"%Q, %Q, %Q, LOWER(%Q), %Q, " \
"LOWER(%Q), LOWER(%Q), LOWER(%Q), LOWER(%Q), LOWER(%Q), " \
"COALESCE(%Q, 'caller'), LOWER(%Q), %Q, LOWER(%Q), %Q, %Q, " \
"%Q, %Q, %d, %Q, %Q, " \
"%Q, %Q, LOWER(%Q), LOWER(%Q), LOWER(%Q), " \
- "%Q, %Q)", \
+ "%Q)", \
app->appid, app->component_type, app->exec, __get_bool(app->nodisplay, false), app->type,
__get_bool(app->onboot, false), __get_bool(app->multiple, false), __get_bool(app->autorestart, false), __get_bool(app->taskmanage, false), __get_bool(app->enabled, true),
app->hwacceleration, app->screenreader, app->mainapp, app->recentimage, app->launchcondition,
__get_bool(mfx->preload, false), __get_bool(app->submode, false), app->submode_mainid, mfx->installed_storage, __get_bool(app->process_pool, false),
app->launch_mode, __get_bool(app->ui_gadget, false), mfx->support_mode, __get_bool(mfx->support_disable, false), app->component_type, mfx->package,
mfx->tep_name, mfx->zip_mount_file, background_value, type, mfx->root_path, mfx->api_version,
- effective_appid, __get_bool(app->splash_screen_display, false), __get_bool(mfx->system, false), __get_bool(mfx->removable, true), mfx->installed_time, mfx->support_mode);
+ effective_appid, __get_bool(app->splash_screen_display, false), __get_bool(mfx->system, false), __get_bool(mfx->removable, true), mfx->installed_time);
ret = __exec_query(query);
if (ret == -1) {
if (mfx->support_mode)
temp_pkg_mode = atoi(mfx->support_mode);
+ /* FIXME : OR-ing should be fixed to not to store whole support mode */
list_up = mfx->application;
while (list_up != NULL) {
up_support_mode = (application_x *)list_up->data;
}
snprintf(pkg_mode, MAX_INTEGER_LENGTH, "%d", temp_pkg_mode);
- if(mfx->support_mode)
+ if (mfx->support_mode)
free((void *)mfx->support_mode);
mfx->support_mode = strdup(pkg_mode);
"install_location, package_size, package_removable, package_preload, package_readonly, " \
"package_update, package_appsetting, package_nodisplay, package_system, author_name, " \
"author_email, author_href, installed_time, installed_storage, storeclient_id, " \
- "mainapp_id, package_url, root_path, csc_path, package_support_mode, package_support_disable, package_support_mode) " \
+ "mainapp_id, package_url, root_path, csc_path, package_support_mode, package_support_disable) " \
"VALUES(" \
"%Q, %Q, %Q, %Q, %Q, %Q, " \
"%Q, %Q, LOWER(%Q), LOWER(%Q), LOWER(%Q), " \
"LOWER(%Q), LOWER(%Q), LOWER(%Q), LOWER(%Q), %Q, " \
"%Q, %Q, %Q, %Q, %Q, " \
- "%Q, %Q, %Q, %Q, %Q, LOWER(%Q), %Q)",
+ "%Q, %Q, %Q, %Q, %Q, LOWER(%Q))",
mfx->package, mfx->type, mfx->version, mfx->api_version, mfx->tep_name, mfx->zip_mount_file,
mfx->installlocation, mfx->package_size, __get_bool(mfx->removable, true), __get_bool(mfx->preload, false), __get_bool(mfx->readonly, false),
__get_bool(mfx->update, false), __get_bool(mfx->appsetting, false), __get_bool(mfx->nodisplay_setting, false), __get_bool(mfx->system, false), auth_name,
auth_email, auth_href, mfx->installed_time, mfx->installed_storage,
mfx->storeclient_id,
- mfx->mainapp_id, mfx->package_url, mfx->root_path, mfx->csc_path, mfx->support_mode, __get_bool(mfx->support_disable, false), mfx->support_mode);
+ mfx->mainapp_id, mfx->package_url, mfx->root_path, mfx->csc_path, mfx->support_mode, __get_bool(mfx->support_disable, false));
ret = __exec_query(query);
if (ret == -1) {