|
If I do a query like this:
my $dbh = DBI->connect ("DBI:mysqlPP:host=$dbhostname;database=$dbname",
"$dbuser", "$dbpassword",
{PrintError => 0, RaiseError => 1});
my $sth = $dbh->prepare ("$mysql_query");
$sth->execute ();
the execute statement hangs if no rows are returned. It works fine if I use this instead:
my $dbh = DBI->connect ("DBI:mysql:host=$dbhostname;database=$dbname",
Has anyone seen this before?
|