aurweb/web/lib
Florian Pritz f51d4c32cd Remove disjunction in pkg_providers query
For some reason, running the SELECT .. WHERE .. OR .. query takes e.g.
58ms on a randomly generated db for some dependency name. Splitting the
OR into two dedicated queries and UNIONing the result takes only 0.42ms.

On the Arch Linux installation, searching for the providers of e.g.
mongodb takes >=110ms when not cached by the query cache. The new query
takes <1ms even when not cached.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2018-02-24 14:57:31 +01:00
..
acctfuncs.inc.php Allow setting an empty home page 2017-12-03 13:52:28 +01:00
aur.inc.php Only allow valid HTTP(s) URLs as home page 2017-11-05 08:55:24 +01:00
aurjson.class.php Check return value of get_extended_fields() 2017-04-18 08:45:02 +02:00
cachefuncs.inc.php Check query return value in db_cache_value() 2017-04-18 08:40:22 +02:00
confparser.inc.php confparser.inc.php: Support alternative config path 2017-02-08 19:18:27 +01:00
credentials.inc.php Add comment undeletion functionality 2016-01-23 11:50:03 +01:00
DB.class.php Fix DB.class.php to match config and include SQLite support 2016-11-10 18:31:20 +01:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
pkgbasefuncs.inc.php Rerender package comments after editing 2017-04-24 17:41:35 +02:00
pkgfuncs.inc.php Remove disjunction in pkg_providers query 2018-02-24 14:57:31 +01:00
pkgreqfuncs.inc.php Add a parameter to skip old requests to pkgreq_list() 2017-02-15 07:13:01 +01:00
routing.inc.php Add support for Terms of Service documents 2017-04-30 16:47:13 +02:00
stats.inc.php Remove 'new' tag from updates table 2016-01-31 20:12:56 +01:00
streams.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
timezone.inc.php Fix warning with invalid time zone 2017-02-27 18:20:00 +01:00
translator.inc.php Fix SQL query to retrieve language setting 2017-02-27 19:49:15 +01:00
version.inc.php Release 4.6.0 2017-12-03 10:23:46 +01:00