Skip Menu |

This queue is for tickets about the Rose-DB-Object CPAN distribution.

Report information
The Basics
Id: 93389
Status: new
Priority: 0/
Queue: Rose-DB-Object

People
Owner: Nobody in particular
Requestors: cpan [...] neonics.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.797
Fixed in: (no value)



Subject: Loader make_classes is silent when db_dsn contains host
When constructing the loader using a DSN that includes a host option, such as: dbi:mysql:my_database;host=127.0.0.1 the Loader will construct base classes MyPackage::DB::AutoBase1::__RoseDBPrivate__::Rose::DB::MySQL where the 'database' field is set to 'my_database;host=127.0.01' rather than 'my_database'. This results in there being no results in $db->list_tables() (Rose/DB/Object/Loader.pm line 991 in v0.810), _without warning_ ! I propose that either there be a warning given that the database 'my_database;host=...' does not exist, or that the DSN is properly parsed for connection options.