[Dbix-class] $schema->ddl_filename() will potentially corrupt the directory name

Jess Robinson castaway at desert-island.me.uk
Tue Sep 30 20:54:57 BST 2008



On Thu, 25 Sep 2008, Byron Young wrote:

> If you pass a $preversion to ddl_filename(), it will update the filename with s/$version/$pversion-$version/ after it constructs the full filename.  If your $dir happens to have something in it that matches $version, the directory will be corrupted and the filename won't be touched.  Here's a patch to fix it.
>
> -Byron
>

Applied, thanks.

Jess




More information about the DBIx-Class mailing list