added missing ~/.my.cnf support to mysqlhotcopy (bug #808)
This commit is contained in:
parent
74ac300642
commit
dbf893fbd4
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user