Hi.
I've just updated to 0.8005 and discovered a problem: ResultSetManager makes
DBIC to hang with 100% cpu usage in debugger with latest version of DBIC.

Example:

package package MyApp::Schema::BlackList;
...
__PACKAGE__->load_components(qw/ResultSetManager Core/);
...
sub bad_nicknames : ResultSet { shift->search({type =>
BLACK_LIST_TYPE_NICKNAME}) }

my $rs = $schema->resultset('BlackList');
my $bnick_rs = $rs->bad_nicknames; # The process hangs at this line in
debugger.

This hangs too:
MyApp::Schema::BlackList::_resultset::bad_nicknames()

The command "s MyApp::Schema::BlackList::_resultset::bad_nicknames()"
doesn't even enter in the function - it immedeately hangs!

DB<6> x Class::Inspector->functions('MyApp::Schema::BlackList::_resultset')
0  ARRAY(0x4609138)
   0  'bad_matches'
   1  'bad_nicknames'
   2  'bad_words'
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to