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: Bug in DBD::Sybase 0.20
Date: Sep 13 1999 11:48PM

For certain versions of OpenClient DBD::Sybase 0.20 fails during make
test with

t/autocommit........install_driver(Sybase) failed: Panic: clientmsg_cb: Can't
find handle from connection at ...

This is because I fetch the version number from the library, and I
pass a 255 byte buffer, and OpenClient 10.x wants to return a much
larger string.

The quick fix is to increase the size of the ocVersion buffer (on line 
45) to 1024, and to change the next to last parameter of ct_config()
from 255 to 1024 on line 437.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
-
You are subscribed as Michael Peppler .
To unsubscribe, send a message to sybperl-announce-request@peppler.org
with 'unsubscribe' in the body.