gitlab-org--gitlab-foss/spec/lib/gitlab/sql
Yorick Peterse c16b99a49c
Use a UNION ALL for getting merge request notes
In this particular case the use of UNION ALL leads to a better query
plan compared to using 1 big query that uses an OR statement to combine
different data sources.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/38508 for more
information.
2017-10-02 15:31:59 +02:00
..
glob_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
pattern_spec.rb Fix typo 2017-09-05 22:23:02 +09:00
recursive_cte_spec.rb Use CTEs for nested groups and authorizations 2017-05-17 16:51:08 +02:00
union_spec.rb Use a UNION ALL for getting merge request notes 2017-10-02 15:31:59 +02:00