summaryrefslogtreecommitdiff
path: root/app/models/ci/pipeline.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-07-23 21:44:53 +0000
committerRobert Speicher <rspeicher@gmail.com>2019-07-23 21:44:53 +0000
commit43626526aa2ae8e5bcfd30825e12566b7cbeee67 (patch)
tree80b4a66ae17d75388448ceac55f80977fff8bdfe /app/models/ci/pipeline.rb
parentd77bd32cbec5c77cac58c4663694f59262ffc30b (diff)
parent4aa76dddecc048cef24963323afe59f1c120cb72 (diff)
downloadgitlab-ce-43626526aa2ae8e5bcfd30825e12566b7cbeee67.tar.gz
Merge branch '52442-initial-mysql-support-removal' into 'master'
Remove dead mysql code Closes #63191 See merge request gitlab-org/gitlab-ce!29608
Diffstat (limited to 'app/models/ci/pipeline.rb')
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 2262282e647..c2eb51ba100 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -236,8 +236,6 @@ module Ci
if limit
ids = relation.limit(limit).select(:id)
- # MySQL does not support limit in subquery
- ids = ids.pluck(:id) if Gitlab::Database.mysql?
relation = relation.where(id: ids)
end