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: "Jackie Wilson" <Jackie dot Wilson at swordmicro dot com>
Subject: ct_fetchable "bad free" error
Date: Apr 13 1999 8:30PM

Hey folks,

I'm getting the following error from ct_fetchable:
"Bad free() ignored at ../SqlSession.pl line 92."
What causes a "bad free" error?

           $dbh->ct_execute($sql) || &sql_close();
            while(($dbh->ct_results($restype)) == CS_SUCCEED) {
line 92 =>    next unless $dbh->ct_fetchable($restype);
              while(@row = $dbh->ct_fetch) {
                if ($restype == CS_ROW_RESULT) {
                  push @output, (join '~', @row);
                }
              }
            }

Jackie Wilson
Sword Microsystems, Inc.