Skip to content
Snippets Groups Projects
Commit e96a894b authored by intrigeri's avatar intrigeri
Browse files

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

parent 3c19ee1f
Branches
Tags
No related merge requests found
......@@ -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!
......
......@@ -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 )"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment