Commit fdc6eeb2 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 16896bc6 6e865b99
...@@ -61,6 +61,7 @@ module Gitlab ...@@ -61,6 +61,7 @@ module Gitlab
SELECT (COUNT(*)*#{inverse})::integer AS count SELECT (COUNT(*)*#{inverse})::integer AS count
FROM #{model.table_name} FROM #{model.table_name}
TABLESAMPLE SYSTEM (#{portion * 100}) TABLESAMPLE SYSTEM (#{portion * 100})
REPEATABLE (0)
#{where_clause(model)} #{where_clause(model)}
SQL SQL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment