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.
|