Subject: | Hyphens in database names not supported |
When trying to use this module with databases names with hyphens, the sub available_dbs complains that the database does not exist. It seems to be related with the regular expression on line 61 of Utils.pm. This other regular expression corrects the problem:
61c61
< next unless /^\| (\w+)/;
---
Show quoted text
> next unless /^\| ([^\s]+)/;
System information:
MySQL-Diff-0.33, perl v5.8.5 built for i386-linux-thread-multi
Linux 2.6.10-1.770_FC3smp #1 SMP Thu Feb 24 14:20:06 EST 2005 i686 i686 i386 GNU/Linux