Segmentation fault using DBD:Sybase function bind_param_inout
Hi,
I've installed the DBD::Sybase module and FreeTDS driver and everything seems to work fine except the function "$sth->bind_param_inout". I get a segmentation fault in my implementation. I was wondering if anybody else came into this problem. I have an excerpt of the code below.
my $sth = $DB->{DBC}->prepare('EXECUTE OURDB.dbo.OURSTOREDPROC ?,? OUTPUT');
$sth->bind_param(1, 'AM%');
$sth->bind_param_inout(2, \$recCount, 4, DBI::SQL_INTEGER);
$sth->execute();
while (my $rec = $sth->fetchrow_hashref() )
{
print $rec->{COMPANY_NAME} . "\n";
}
print $recCount;
Thanks,
|