Client Hanging on Execute. How to debug?
From: Gil Vidals (gil.vidals_at_positionresearch.com)
Date: 12/11/03
- Next message: Hardy Merrill: "Re: Client Hanging on Execute. How to debug?"
- Previous message: Chuck Fox: "Re: DBD::ODBC - SQL Server - odbc_err_handler - inconsistent results"
- Next in thread: Hardy Merrill: "Re: Client Hanging on Execute. How to debug?"
- Reply: Hardy Merrill: "Re: Client Hanging on Execute. How to debug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <dbi-users@perl.org> Date: Thu, 11 Dec 2003 11:48:01 -0800
I am using advisory locks with GET_LOCK(). However, the client is hanging on
the execute statement below. The client never responds after the execute;
nor do I get an error message. What can I try to do to debug? I'm lost....
## call to get_lock was performed higher up in the code
print "\n$sql\n" if $DEBUG;
my $sth = $dbh->prepare($sql) or die "Cannot Prepare $@";
print "\n\nafter prepare\n\n";
my $rv = $sth->execute() or die "Cannot Execute $@"; <---------- HANGING
HERE
print "\n\nafter execute\n\n"; <-------------------------- NEVER
PRINTS
$dbh->{PrintError} = 0; ## warn messages off
$dbh->{RaiseError} = 1; ## die with message on
Gil.Vidals@PositionResearch.com
Position Research, Inc.
Search engine results by research
tel: (760) 480-8291 fax: (760) 480-8271
www.PositionResearch.com
- Next message: Hardy Merrill: "Re: Client Hanging on Execute. How to debug?"
- Previous message: Chuck Fox: "Re: DBD::ODBC - SQL Server - odbc_err_handler - inconsistent results"
- Next in thread: Hardy Merrill: "Re: Client Hanging on Execute. How to debug?"
- Reply: Hardy Merrill: "Re: Client Hanging on Execute. How to debug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|