summaryrefslogtreecommitdiff
path: root/scripts/mysqlhotcopy.sh
diff options
context:
space:
mode:
authorserg@serg.mylan <>2003-07-08 17:27:43 +0200
committerserg@serg.mylan <>2003-07-08 17:27:43 +0200
commitfe399f746d3f4b2f0c6b8c3e44d5955313ca6060 (patch)
tree0e4b928ad5fb20ad90ba9440c69e9d1df2f19f7f /scripts/mysqlhotcopy.sh
parent19b1d5923b628c5cb41d8fe2dbc8bf54f4b86a90 (diff)
parentdbf893fbd4b39ab0ace49996616619a2297c52a4 (diff)
downloadmariadb-git-fe399f746d3f4b2f0c6b8c3e44d5955313ca6060.tar.gz
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
Diffstat (limited to 'scripts/mysqlhotcopy.sh')
-rw-r--r--scripts/mysqlhotcopy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh
index fa35a1c6555..7385be65092 100644
--- a/scripts/mysqlhotcopy.sh
+++ b/scripts/mysqlhotcopy.sh
@@ -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,