return PMINFO_R_ERROR;
}
GList *list = nullptr;
- std::vector<sqlite3*> conn_list = GetConnection();
+ std::vector<std::pair<sqlite3*, uid_t>> conn_list = GetConnection();
int ret = PMINFO_R_OK;
for (auto& conn : conn_list) {
ret = pkginfo_internal_filter_get_depends_on(
- conn, pkgid_.c_str(), &list);
+ conn.first, pkgid_.c_str(), &list);
if (ret == PMINFO_R_ERROR)
break;
}