Skip Menu |

This queue is for tickets about the Class-DBI-Loader CPAN distribution.

Report information
The Basics
Id: 5533
Status: open
Priority: 0/
Queue: Class-DBI-Loader

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



Subject: Needs to clean out the test database.
If the database supplied for testing purposes contains other tables, CDBI::Loader will try to load them. If they are in a format that CDBI::Loader doesn't understand (for example, if a table doesn't have a primary key) the 01_mysql.t test will fail when it tries to load from the database. To see this in action, throw this into your test database and then try to run the tests: CREATE TABLE foo ( this INTEGER ); One fix would be to have the test wipe out the test database, but that seems dangerous. Another would be to make CDBI::Loader more robust and rather than dying when it can't understand a table, simply warn. This will allow one to use CDBI::Loader on a database with tables that CDBI::Loader cannot handle.
From: dhoworth [...] mrc-lmb.cam.ac.uk
[guest - Tue Mar 2 17:49:19 2004]: Show quoted text
> If the database supplied for testing purposes contains other tables, > CDBI::Loader will try to load them. If they are in a format that > CDBI::Loader doesn't understand (for example, if a table doesn't > have a primary key) the 01_mysql.t test will fail when it tries to > load from the database.
Show quoted text
> One fix would be to have the test wipe out the test database, but that > seems dangerous. Another would be to make CDBI::Loader more robust > and rather than dying when it can't understand a table, simply > warn. This will allow one to use CDBI::Loader on a database with > tables that CDBI::Loader cannot handle.
I too have encountered this bug and consider it important since it affect a new user's first experience with the package. Since it has been open so long, indicating lack of active maintenance/development, I will look for another package instead.
Subject: car insurance<a href='http://www.insurance-top.com'
From: http://www.insurance-top.com
<a href='http://www.yahoo.com'></a>Thanks! http://www.insurance-top.com/auto/ <a href='http://www.insurance-top.com'>auto insurance</a>. <a href="http://www.insurance-top.com ">Insurance car</a>: auto site insurance, car site insurance, The autos insurance company. Also [url]http://www.insurance-top.com/car/[/url] and [link=http://www.insurance-top.com]insurance quote[/link] from site .
Subject: insurance auto<a href='http://www.insurance-top.com'
From: http://www.insurance-top.com
Thanks!!! http://www.insurance-top.com/company/ auto site insurance. [URL=http://www.insurance-top.com]home insurance[/URL]: auto site insurance, car site insurance, The autos insurance company. Also [url=http://www.insurance-top.com]cars insurance[/url] from website .
Subject: insurance auto<a href='http://www.insurance-top.com'
From: http://www.insurance-top.com
Hi! http://www.insurance-top.com/company/ auto site insurance. auto site insurance, car site insurance, The autos insurance company. from website .
Subject: <a href='u@ebay.com'
From: u [...] ebay.com