On Mon, Dec 02, 2002 at 06:25:35PM -0800, Dean Arnold wrote:
> Someone reported the following error occuring w/ DBI 1.32 and
> DBD::Chart:
> 
> > [Tue Dec  3 00:55:57 2002] nul: DBD::Sponge::db do failed: No rows 
> > attribute supplied to prepare at c:/Perl/site/lib/Deakin/Base.pm line 
> > 2822.
> > [Tue Dec  3 00:55:57 2002] nul: DBD::Sponge::db prepare failed: No 
> > rows attribute supplied to prepare at c:/Perl/site/lib/Deakin/Base.pm 
> > line 2824.
> > 
> > The source code lines 2820 .. 2824 are:
> > my($dbh) = DBI->connect('dbi:Chart:') || throw Error::Simple('Cannot 
> > connect to chart');
> > 
> > $dbh -> do('CREATE TABLE bars (mark char(5), count INT)');
> > 
> > my($sth) = $dbh -> prepare('INSERT INTO bars VALUES(?, ?)');
> > 
> > I found the error msg 'No rows...' in Sponge.pm line 52.
> 
> Since DBD::Chart *never* directly uses DBD::Sponge,
> I can't figure how Sponge is showing up in the traceback...
> Was something added to DBI that uses Sponge directly ?
> BTW: DBD::Chart is pure-perl, if that matters any...

What is c:/Perl/site/lib/Deakin/Base.pm?

Since Ron is <[EMAIL PROTECTED]> I'd guess it's some local code.

> > I'll try rolling DBI back to 1.28.

The check for the rows attribute in DBD::Sponge has been there since
before DBI 1.28.

Tim.

Reply via email to