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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-31 18:10:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-31 18:10:29 +0300
commitd7918f34666a538be467cb9db04630960e3659d3 (patch)
treea1e937ec7569d081a4382ca8d2ca9f6968e0a38f /lib/gitlab/database.rb
parenta9ae162270049d3a183024e0b1f1626dbe14e847 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/database.rb')
-rw-r--r--lib/gitlab/database.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb
index 110708e44eb..3a1178793f3 100644
--- a/lib/gitlab/database.rb
+++ b/lib/gitlab/database.rb
@@ -145,6 +145,7 @@ module Gitlab
def self.allow_cross_joins_across_databases(url:)
# this method is implemented in:
# spec/support/database/prevent_cross_joins.rb
+ yield
end
# This method will allow cross database modifications within the block