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.