morning,

i'm trying to track down a bug that we're experiencing in bugzilla.

http://bugzilla.mozilla.org/show_bug.cgi?id=253696


on activestate perl (windows) build 510 when i connect to a mysql database
specifying using

  FetchHashKeyName => 'NAME_lc'

and run selectall_hashref() i get

  Free to wrong pool 223f88 not ff at e:/Perl/site/lib/DBI.pm line 1867.


my $dbh = DBI->connect(
    "DBI:mysql:host=localhost;database=bugs;port=3306", '', '',
    { Username => 'bugs', Password => '', FetchHashKeyName => 'NAME_lc', }
) or die $!;
my $days_since_epoch = int(time() / (60 * 60 * 24));
my $serieses = $dbh->selectall_hashref("SELECT series_id, query, creator " .
    "FROM series " .
    "WHERE frequency != 0 AND " . 
    "($days_since_epoch + series_id) % frequency = 0",
    "series_id"
);


on activestate perl 5.8.3 build 809, it does not crash.
nor does it crash if i set FetchHashKeyName to 'NAME' (or don't set it).


any ideas?



thanks,

byron


begin-base64 644 signature.gif
R0lGODlhbQAHAIAAAABPo////ywAAAAAbQAHAAACfAxuGAnch+Bibkn7FL1p
XgVl4Ig1jjlZRoqybgun2Cur5uOunq7u/Ipq7WIyIc7XG9JquEgumPzdlhTf
h0O83kDJaXEm8mRHwXKJy5sac7qYOpT+gtv0n+0ujQOfdqh16caWt0foBViH
N1PRMXimiLUGt3ElVimlgbllWAAAOw==
====

Reply via email to