I would say you're referencing dbh incorrectly somewhere in your code. Setting the connection as a global but then passing around references to the global while also sometimes using the global is a recipe for disaster.
Update: also ... what does $app->disconnect($$dbh) do? Does it do a dbh disconnect as well? That could be a problem.
In reply to Re: ct_cmd_alloc failed
by derby
in thread ct_cmd_alloc failed
by mnlight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |