Hi all,
Despite what the documentation says on this topic, I'm unable to have the 8th
parameter of syb_err_handler even after having set syb_show_sql to true:
use DBI;
# ---------------
# Errors handling
# ---------------
sub msg_handler_SYB {
print join ( "| ", @_), "\n";
}
$sth = $dbh_dbi->prepare("$sql_stmt");
$dbh_dbi->{syb_err_handler} = \&msg_handler_SYB;
$dbh_dbi->{syb_show_sql} = true;
$rv = $sth->execute;
Normally @_ should get something like:
$sql_cmd, $err_number, $severity, $state, $line, $server, $proc, $text_msg
Any idea ???
______________________
Alain Savio
Database administrator
direct: +33 (0)4 9238 4148
fax: +33 (0)4 9238 8199
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]