where[sizeof(where) - 1] = '\0';
}
}
- _LOGE("where = %s\n", where);
if (strlen(where) > 0) {
strncat(query, where, sizeof(query) - strlen(query) - 1);
query[sizeof(query) - 1] = '\0';
}
- _LOGE("query = %s\n", query);
/*Execute Query*/
if (SQLITE_OK !=
where[sizeof(where) - 1] = '\0';
}
}
- _LOGE("where = %s\n", where);
if (strlen(where) > 0) {
strncat(query, where, sizeof(query) - strlen(query) - 1);
query[sizeof(query) - 1] = '\0';
}
- _LOGE("query = %s\n", query);
tmphead = calloc(1, sizeof(pkgmgr_pkginfo_x));
if (tmphead == NULL) {
_LOGE("Out of Memory!!!\n");
where[sizeof(where) - 1] = '\0';
}
}
- _LOGE("where = %s\n", where);
if (strlen(where) > 0) {
strncat(query, where, sizeof(query) - strlen(query) - 1);
query[sizeof(query) - 1] = '\0';
}
- _LOGE("query = %s\n", query);
/*Execute Query*/
if (SQLITE_OK !=
where[sizeof(where) - 1] = '\0';
}
}
- _LOGE("where = %s\n", where);
if (strlen(where) > 0) {
strncat(query, where, sizeof(query) - strlen(query) - 1);
query[sizeof(query) - 1] = '\0';
}
- _LOGE("query = %s\n", query);
/*To get filtered list*/
pkgmgr_pkginfo_x *info = NULL;
pkgmgr_pkginfo_x *filtinfo = NULL;
strncat(where, METADATA_FILTER_QUERY_UNION_CLAUSE, sizeof(where) - strlen(where) - 1);
}
}
- _LOGE("where = %s (%d)\n", where, strlen(where));
if (strlen(where) > 0) {
strncat(query, where, sizeof(query) - strlen(query) - 1);
}
- _LOGE("query = %s (%d)\n", query, strlen(query));
/*To get filtered list*/
info = (pkgmgr_pkginfo_x *)calloc(1, sizeof(pkgmgr_pkginfo_x));
tryvm_if(info == NULL, ret = PMINFO_R_ERROR, "Out of Memory!!!\n");