Skip to content

Commit c63e318

Browse files
committed
Remove mysql regex when checking type
Since the default MySQL return type is 'mysql', only check for MariaDB and Percona specially.
1 parent 2603411 commit c63e318

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/puppet/provider/mysql.rb

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def self.defaults_file
2222
def self.mysqld_type
2323
# find the mysql "dialect" like mariadb / mysql etc.
2424
mysqld_version_string.scan(/mariadb/i) { return "mariadb" }
25-
mysqld_version_string.scan(/\s\(mysql/i) { return "mysql" }
2625
mysqld_version_string.scan(/\s\(percona/i) { return "percona" }
2726
return "mysql"
2827
end

0 commit comments

Comments
 (0)