aboutsummaryrefslogtreecommitdiff
path: root/handlers/mysql.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2014-02-22 13:34:06 +0000
committerintrigeri <intrigeri@boum.org>2014-02-22 13:34:57 +0000
commite96a894bb85b72253a2a1e69e36f4f6e89713078 (patch)
treeb92b99095a6652c3082ae8ab3684410d40e5b608 /handlers/mysql.in
parent3c19ee1f8c5e5f0f37853d120b2484e3d57f885e (diff)
downloadbackupninja-e96a894bb85b72253a2a1e69e36f4f6e89713078.tar.gz
backupninja-e96a894bb85b72253a2a1e69e36f4f6e89713078.tar.bz2
mysql: fix non-qualified table name extraction (Closes: Redmine#4373).
Diffstat (limited to 'handlers/mysql.in')
-rw-r--r--handlers/mysql.in2
1 files changed, 1 insertions, 1 deletions
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 )"