Bug #20518 mysqhotcopy not closing handles properly
Submitted: 17 Jun 2006 14:59 Modified: 19 Jun 2006 17:53
Reporter: Amos Jeffries Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version: OS:Linux (debian linux)
Assigned to: CPU Architecture:Any

[17 Jun 2006 14:59] Amos Jeffries
Description:
mysqlhotcopy completes successfully but drops an error:

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

(also occurs in --dryrun on line 527)

mysqlhotcopy version:  Ver 1.22

mysql:  Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline 5.1

How to repeat:
mysqlhotcopy --addtodest --regexp=.* /backup/home/mysql > /dev/null

output occurs in stderr.
[19 Jun 2006 17:53] Sveta Smirnova
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in MySQL.

Additional info:

Duplicates http://bugs.mysql.com/bug.php?id=20153