Skip to content

Commit

Permalink
Merge pull request #1064 from HelenCampbell/removehost
Browse files Browse the repository at this point in the history
(MODULES-6627) Removes unused --host flag from mysqlcaller
  • Loading branch information
hunner committed Apr 23, 2018
2 parents 667c2c7 + 5600647 commit 346f70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/mysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def defaults_file

def self.mysql_caller(text_of_sql, type)
if type.eql? 'system'
mysql_raw([defaults_file, '--host=', system_database, '-e', text_of_sql].flatten.compact)
mysql_raw([defaults_file, system_database, '-e', text_of_sql].flatten.compact)
elsif type.eql? 'regular'
mysql_raw([defaults_file, '-NBe', text_of_sql].flatten.compact)
else
Expand Down

0 comments on commit 346f70e

Please sign in to comment.