[Dbix-class] Error: Can't call errstr method on handle after take_imp_data()

Tim Bunce Tim.Bunce at pobox.com
Thu Mar 6 22:38:36 GMT 2008


On Thu, Mar 06, 2008 at 02:29:59PM +0000, Jonas Alves wrote:
> Hi,
> I'm using DBIC with mysql and I'm seeing in the error log a lot of
> errors like this:
> Can't call errstr method on handle DBI::db=HASH(0xbcad1cbc) after
> take_imp_data() at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/Class/Storage/DBI.pm line 1194.
> 
> I'm using DBIC version 0.08008 and DBD::mysql 4.006 compiled against
> mysql 5.0.51a. The mysql server version is 5.0.45.
> 
> Is anyone more getting errors like these?

Either take_imp_data() has been called on the handle
(in which case it's it's now 'brain dead' and can't be used at all),
or the handle has been corrupted or improperly initialized.

Tim.



More information about the DBIx-Class mailing list