Skip to content

Commit 5600647

Browse files
author
Helen Campbell
committed
Removes unused --host flag from mysqlcaller
1 parent a5497b2 commit 5600647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/mysql.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def defaults_file
5656

5757
def self.mysql_caller(text_of_sql, type)
5858
if type.eql? 'system'
59-
mysql_raw([defaults_file, '--host=', system_database, '-e', text_of_sql].flatten.compact)
59+
mysql_raw([defaults_file, system_database, '-e', text_of_sql].flatten.compact)
6060
elsif type.eql? 'regular'
6161
mysql_raw([defaults_file, '-NBe', text_of_sql].flatten.compact)
6262
else

0 commit comments

Comments
 (0)