summaryrefslogtreecommitdiff
path: root/scripts/mysqlhotcopy.sh
diff options
context:
space:
mode:
authorjani@rhols221.adsl.netsonic.fi <>2003-10-22 19:24:19 +0300
committerjani@rhols221.adsl.netsonic.fi <>2003-10-22 19:24:19 +0300
commit7b3c89f1f6aec2658a51c39be53ae32a2869d6db (patch)
treeda4dc63159f8252e0d2507c35a53ac79ada16a11 /scripts/mysqlhotcopy.sh
parente69447933dce4c4bbd681e6b7eea15a1d23bb415 (diff)
downloadmariadb-git-7b3c89f1f6aec2658a51c39be53ae32a2869d6db.tar.gz
Reverted a wrong patch from mysqlhotcopy. This is a real bug
in MySQL server...
Diffstat (limited to 'scripts/mysqlhotcopy.sh')
-rw-r--r--scripts/mysqlhotcopy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh
index 160a2611374..654e5466e12 100644
--- a/scripts/mysqlhotcopy.sh
+++ b/scripts/mysqlhotcopy.sh
@@ -453,13 +453,13 @@ if ( $opt{dryrun} ) {
}
else {
my $start = time;
- $dbh->do('LOCK TABLES $hc_locks');
+ $dbh->do("LOCK TABLES $hc_locks");
printf "Locked $num_tables tables in %d seconds.\n", time-$start unless $opt{quiet};
$hc_started = time; # count from time lock is granted
# flush tables to make on-disk copy uptodate
$start = time;
- $dbh->do('FLUSH TABLES /*!32323 $hc_tables */');
+ $dbh->do("FLUSH TABLES /*!32323 $hc_tables */");
printf "Flushed tables ($hc_tables) in %d seconds.\n", time-$start unless $opt{quiet};
$dbh->do( "FLUSH LOGS" ) if ( $opt{flushlog} );
$dbh->do( "RESET MASTER" ) if ( $opt{resetmaster} );
@@ -467,7 +467,7 @@ else {
if ( $opt{record_log_pos} ) {
record_log_pos( $dbh, $opt{record_log_pos} );
- $dbh->do('FLUSH TABLES /*!32323 $hc_tables */');
+ $dbh->do("FLUSH TABLES /*!32323 $hc_tables */");
}
}