diff options
author | jimw@mysql.com <> | 2005-02-18 12:37:18 -0800 |
---|---|---|
committer | jimw@mysql.com <> | 2005-02-18 12:37:18 -0800 |
commit | 99bd939b3e90753412e030570c015b33f8acd1ad (patch) | |
tree | 7958a67310cf424fc734f1c1e021b1e0cf183bcd /scripts/mysqlhotcopy.sh | |
parent | 3229e67a20510d11ccdfffb6da8a8697de25b451 (diff) | |
download | mariadb-git-99bd939b3e90753412e030570c015b33f8acd1ad.tar.gz |
Remove doubled quotes (used for escaping) in table names in mysqlhotcopy.
Part of fix for Bug #8136.
Diffstat (limited to 'scripts/mysqlhotcopy.sh')
-rw-r--r-- | scripts/mysqlhotcopy.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh index e3f4fdaf3ee..632174dc41a 100644 --- a/scripts/mysqlhotcopy.sh +++ b/scripts/mysqlhotcopy.sh @@ -821,7 +821,10 @@ sub get_list_of_tables { ## Remove quotes around table names my $quote = $dbh->get_info(29); # SQL_IDENTIFIER_QUOTE_CHAR if ($quote) { - foreach (@dbh_tables) { s/^$quote(.*)$quote$/$1/; } + foreach (@dbh_tables) { + s/^$quote(.*)$quote$/$1/; + s/$quote$quote/$quote/g; + } } $dbh->disconnect(); |