Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MySQL-Diff CPAN distribution.

Report information
The Basics
Id: 13491
Status: resolved
Priority: 0/
Queue: MySQL-Diff

People
Owner: cpan [...] adamspiers.org
Requestors: marc [...] teloris.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.33
Fixed in: (no value)



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
Should be fixed in 0.40 which was just uploaded to CPAN. Sorry for the ahem, delay.