Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/database/partitioning_helpers.rb')
-rw-r--r--spec/support/helpers/database/partitioning_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/database/partitioning_helpers.rb b/spec/support/helpers/database/partitioning_helpers.rb
index 80b31fe0603..889652a9252 100644
--- a/spec/support/helpers/database/partitioning_helpers.rb
+++ b/spec/support/helpers/database/partitioning_helpers.rb
@@ -79,8 +79,8 @@ module Database
SQL
end
- def find_partitions(partition, schema: Gitlab::Database::DYNAMIC_PARTITIONS_SCHEMA)
- connection.select_rows(<<~SQL)
+ def find_partitions(partition, schema: Gitlab::Database::DYNAMIC_PARTITIONS_SCHEMA, conn: connection)
+ conn.select_rows(<<~SQL)
select
pg_class.relname
from pg_class