PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBD and compute core dumps
Date: Feb 20 2001 3:54PM

John Gilmore-Baldwin writes:
 > I'm having a problem using DBD::Sybase and running a stored procedure 
 > with compute clauses.
 > 
 > After the first result set is returned, the program core dumps. As 
 > best I can tell, it core dumps at the call to fetchrow_array that 
 > would come back with an empty list. The script never gets to the 
 > $sth->{syb_more_results} statement.
 > 
 > I can correctly retrieve multiple result sets, but this one with 
 > compute statements is blowing up.
 > 
 > I'm using DBD::Sybase 0.91 and perl 5.6 with the freetds (0.50) 
 > libraries against a 11.0.3.3 Sybase database.

Can you do compute statements outside of a stored proc?

I *suspect* that the problem is in freetds, but I'm not 100% sure.

Michael
-- 
Michael Peppler - Data Migrations Inc. - mpeppler@peppler.org
http://www.mbay.net/~mpeppler - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com