mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 20:02:32 +01:00
mysql: fix non-qualified table name extraction (Closes: Redmine#4373).
This commit is contained in:
parent
3c19ee1f8c
commit
e96a894bb8
@ -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 )"
|
||||
|
Loading…
Reference in New Issue
Block a user