Subject: | output error message when destracting Queue::Q4m |
Date: | Sun, 28 Feb 2010 02:12:25 +0900 (JST) |
To: | bug-Queue-Q4M [...] rt.cpan.org |
From: | gullet_engine [...] yahoo.co.jp |
After I called Queue::Q4M::disconnect(),
Queue::Q4M destractor outputs the following error message,
DBD::mysql::db do failed: Can't initialize function 'queue_abort'; queue_abort(): not in owner mode at /usr/local/lib/perl5/site_perl/5.10.1/Queue/Q4M.pm line 237.
Queue::Q4M-0.00017 does not output this message.
I think that disconnect() should set owner_mode(0),
@@ -215,6 +215,7 @@
if ($dbh) {
$dbh->do("select queue_end()");
$dbh->disconnect;
+ $self->owner_mode(0);
$self->_dbh(undef);
}
Pardon me if I'm wrong about this issue.
I have used following versions.
macOSX-10.6 i386
perl-5.10.1
Queue::Q4M-0.00019
mysql-5.1.43
q4m-0.9.2.
thanks,
VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
--------------------------------------
VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/olympic/