]> gitweb.fluxo.info Git - backupninja.git/commitdiff
mysql: fix non-qualified table name extraction (Closes: Redmine#4373).
authorintrigeri <intrigeri@boum.org>
Sat, 22 Feb 2014 13:34:06 +0000 (13:34 +0000)
committerintrigeri <intrigeri@boum.org>
Sat, 22 Feb 2014 13:34:57 +0000 (13:34 +0000)
ChangeLog
handlers/mysql.in

index 91bd7a9e5cea56bb87d23ed2bde8e8500a502b7c..4d3413df1994dbed5557e80f4b25adc32b094c26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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!
index 9472b8e5ddfed8c96a611da7f3d847c20ac4bc9b..ceed620fae8591c5949239943915f4982dac6dec 100644 (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 )"