Re: [PATCH 11/11] Fetch maintainer information in one query

2018-08-31 Thread Stephen Finucane
On Fri, 2018-08-10 at 18:01 +1000, Stewart Smith wrote: > Viewing the /project/ page lists maintainers. Prior to this patch, > this was done in one query to fetch the maintainer IDs, and then one > query per mainatiner to get the name/email address. > > Now, with this patch, it's all in one query

[PATCH 11/11] Fetch maintainer information in one query

2018-08-10 Thread Stewart Smith
Viewing the /project/ page lists maintainers. Prior to this patch, this was done in one query to fetch the maintainer IDs, and then one query per mainatiner to get the name/email address. Now, with this patch, it's all in one query (yay joins) and saves a few ms of database queries for displaying