mysql: fix non-qualified table name extraction (Closes: Redmine#4373).

This commit is contained in:
intrigeri 2014-02-22 13:34:06 +00:00
parent 3c19ee1f8c
commit e96a894bb8
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ version 1.0.2 -- UNRELEASED
. Gracefully handle legacy spaces between -o and IdentityFile.
mysql:
. Make "nodata" option compatible with compress=no.
. Fix non-qualified table name extraction. (Closes: Redmine#4373)
rdiff:
. Add option to include rdiff-backup output in reports.
Thanks to David Gasaway <dave@gasaway.org> for the patch!

View File

@ -276,7 +276,7 @@ then
DUMP_STRUCT="$DUMP_BASE --no-data $db"
for qualified_table in $nodata
do
table=$( expr match "$qualified_table" "$db\.\([^\w]*\)" )
table=$( expr match "$qualified_table" "$db\.\(.\+\)" )
DUMP_STRUCT="$DUMP_STRUCT $table"
done
DUMP="( $DUMP; $DUMP_STRUCT )"