Your message dated Tue, 03 Oct 2006 15:26:29 +0200
with message-id <[EMAIL PROTECTED]>
and subject line mysqlhotcopy emits warning after upgrade to libdbd-mysql-perl 
3.0004-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mysql-server-5.0
Version: 5.0.20-1
Severity: normal

After upgrading to libdbd-mysql-perl 3.0004-1, mysqlhotcopy began to
emit the following warning on every use:

DBI::db=HASH(0xa9a270)->disconnect invalidates 1 active statement handle
(either destroy statement handles or call finish on them before
disconnecting) at /usr/bin/mysqlhotcopy line 541.

(My installed version of mysql is etch's 5.0.20-1, but I have checked
that the mysqlhotcopy shipped in incoming's 5.0.21-4 is identical.)

Investigating in the script, it seems that the problem is that the
statement handle $sth_vars is still active at the time of disconnect.

Either calling $sth_vars->finish;, or moving the 5 lines concerning
$sth_vars into an enclosing block to cause $sth_vars to go out of scope
as soon as it is no longer required successfully avoid the warning.

Max Bowsher.


--- End Message ---
--- Begin Message ---
This has been fixed with DBD::MySQL 3.007.

bye,

-christian-


--- End Message ---

Reply via email to