1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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

This commit is contained in:
serg@serg.mylan
2003-07-08 17:27:22 +02:00
parent 74ac300642
commit dbf893fbd4

View File

@@ -81,6 +81,11 @@ sub usage {
die @_, $OPTIONS;
}
# reading ~/.my.cnf
my @defops = `@bindir@/my_print_defaults client mysqlhotcopy`;
chop @defops;
splice @ARGV, 0, 0, @defops;
my %opt = (
user => scalar getpwuid($>),
noindices => 0,