Re: [Lxr-developer] Weird MySQL bug
Brought to you by:
ajlittoz
From: <pe...@kl...> - 2001-06-19 18:34:05
|
Malcolm Box <ma...@br...> writes: > $dbh, which is the database handle in question, is a package > variable and therefore I think it should be scoped until the package > is removed, ie when the END block deletes things properly. I would tend to agree with you, FWIW. I don't use mysql myself, so I can't experiment, but have you tried * Setting $dbh->trace(n) with n>0 right after you connect? * Explicitly qualifying $dbh with the package, ie s/$dbh/$LXR::Index::Mysql::dbh/ ? * A different version of perl? Not that I would know what was wrong given results of those tests, but maybe they can help shed light on the problem? ...Peder... -- Cogito ergo panta rei. |