Commit dbf893fb authored by serg@serg.mylan's avatar serg@serg.mylan

added missing ~/.my.cnf support to mysqlhotcopy (bug #808)

parent 74ac3006
...@@ -81,6 +81,11 @@ sub usage { ...@@ -81,6 +81,11 @@ sub usage {
die @_, $OPTIONS; die @_, $OPTIONS;
} }
# reading ~/.my.cnf
my @defops = `@bindir@/my_print_defaults client mysqlhotcopy`;
chop @defops;
splice @ARGV, 0, 0, @defops;
my %opt = ( my %opt = (
user => scalar getpwuid($>), user => scalar getpwuid($>),
noindices => 0, noindices => 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment