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
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ version 1.0.2 -- UNRELEASED ...@@ -8,6 +8,7 @@ version 1.0.2 -- UNRELEASED
. Gracefully handle legacy spaces between -o and IdentityFile. . Gracefully handle legacy spaces between -o and IdentityFile.
mysql: mysql:
. Make "nodata" option compatible with compress=no. . Make "nodata" option compatible with compress=no.
. Fix non-qualified table name extraction. (Closes: Redmine#4373)
rdiff: rdiff:
. Add option to include rdiff-backup output in reports. . Add option to include rdiff-backup output in reports.
Thanks to David Gasaway <dave@gasaway.org> for the patch! Thanks to David Gasaway <dave@gasaway.org> for the patch!
......
...@@ -276,7 +276,7 @@ then ...@@ -276,7 +276,7 @@ then
DUMP_STRUCT="$DUMP_BASE --no-data $db" DUMP_STRUCT="$DUMP_BASE --no-data $db"
for qualified_table in $nodata for qualified_table in $nodata
do do
table=$( expr match "$qualified_table" "$db\.\([^\w]*\)" ) table=$( expr match "$qualified_table" "$db\.\(.\+\)" )
DUMP_STRUCT="$DUMP_STRUCT $table" DUMP_STRUCT="$DUMP_STRUCT $table"
done done
DUMP="( $DUMP; $DUMP_STRUCT )" 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