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:
authorDouwe Maan <douwe@gitlab.com>2015-10-22 11:18:44 +0300
committerDouwe Maan <douwe@gitlab.com>2015-10-22 11:18:44 +0300
commit05cb65dc1f816a75677d0db401e29a9b640cf4d7 (patch)
tree318c964f926991976b8fb49c0c59d86d741e9868 /lib/gitlab/database.rb
parent310f49af35dad496041b21bbb8b05c74c14075ba (diff)
Fix Gitlab::Database#mysql?
Diffstat (limited to 'lib/gitlab/database.rb')
-rw-r--r--lib/gitlab/database.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb
index 741a52714ac..71f37f1fef8 100644
--- a/lib/gitlab/database.rb
+++ b/lib/gitlab/database.rb
@@ -1,7 +1,7 @@
module Gitlab
module Database
def self.mysql?
- ActiveRecord::Base.connection.adapter_name.downcase == 'mysql'
+ ActiveRecord::Base.connection.adapter_name.downcase == 'mysql2'
end
def self.postgresql?