Hello,
I like to stop a long running SQL by the code:

my $sth = $dbh->prepare($stmt, { db2_query_timeout => 6 });
my $to = $sth->{db2_query_timeout};
print "end prepare, to=$to.\n";

But my script doesn't stop, and $to is 0.
My code is wrong?

DBI = 1.53 DBD::DB2 = 1.71, DB2 = v8.1

Regards,
Hirosi Taguti

Reply via email to