diff options
author | intrigeri <intrigeri@boum.org> | 2014-02-22 13:34:06 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2014-02-22 13:34:57 +0000 |
commit | e96a894bb85b72253a2a1e69e36f4f6e89713078 (patch) | |
tree | b92b99095a6652c3082ae8ab3684410d40e5b608 | |
parent | 3c19ee1f8c5e5f0f37853d120b2484e3d57f885e (diff) | |
download | backupninja-e96a894bb85b72253a2a1e69e36f4f6e89713078.tar.gz backupninja-e96a894bb85b72253a2a1e69e36f4f6e89713078.tar.bz2 |
mysql: fix non-qualified table name extraction (Closes: Redmine#4373).
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | handlers/mysql.in | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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! diff --git a/handlers/mysql.in b/handlers/mysql.in index 9472b8e..ceed620 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -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 )" |