-
Richard Mansfield authored
When a user has many views shared with them, the view_search query may exceed mysql's max_join_size and cause an unrecoverable error on a user's dashboard, among other places. Replacing a bunch of these outer joins with subselects fixes the issue, and in a few tests on a large postgres db, also improved performance. Change-Id: Ic3b82518e4571807ceae4747ab086eb4a9baa5db Signed-off-by: Richard Mansfield <richard.mansfield@catalyst.net.nz>
5362403f