query: accept every categories as A when looking for "<A>/<B>"
modified libpkg/pkg_jobs.c
@@ -1584,7 +1584,7 @@ jobs_solve_full_upgrade(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb_query.c
@@ -1,5 +1,5 @@
|
|
| - | |
| + | |
|
|
|
|
|
@@ -79,44 +79,44 @@ pkgdb_get_pattern_query(const char *pattern, match_t match)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -140,24 +140,29 @@ pkgdb_query_cond(struct pkgdb *db, const char *cond, const char *pattern, match_
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -165,6 +170,7 @@ pkgdb_query_cond(struct pkgdb *db, const char *cond, const char *pattern, match_
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/repo/binary/query.c
@@ -103,13 +103,15 @@ pkg_repo_binary_query(struct pkg_repo *repo, const char *cond, const char *patte
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -121,7 +123,7 @@ pkg_repo_binary_query(struct pkg_repo *repo, const char *cond, const char *patte
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -294,13 +296,13 @@ pkg_repo_binary_build_search_query(xstring *sql, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -318,13 +320,13 @@ pkg_repo_binary_build_search_query(xstring *sql, match_t match,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -349,11 +351,13 @@ pkg_repo_binary_search(struct pkg_repo *repo, const char *pattern, match_t match
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/query.c
@@ -483,7 +483,7 @@ format_sql_condition(const char *str, xstring *sqlcond, bool for_remote)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|