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: Sybase::CTlib ct_callback
Date: Mar 22 2000 3:31PM

Andrew.Crossland@citicorp.com writes:
 > This would appear to setup callbacks applying to all database connections. 
 > Looking at the OpenClient documentation, the ct_callback function accepts a 
 > database connection as one of the parameters, thus enabling callbacks to be 
 > defined as local to the database connection rather than applying to all 
 > database connections.

Correct. This a feature that I didn't implement.

 > I really want to enable the creation of multiple database connections with 
 > potentially different callback handlers on the database connections. The ways 
 > that I see this as possible are:-
 > * ct_callback is implemented as a method on an instance of Sybase::CTlib. This 
 > may already be true but I can't find any documentation.

No this is not handled at the moment. However, if you feel you'd like
to delve into the code and try to make it that way I'll gladly accept
patches :-)

(I don't have the time to hack sybperl at the moment, unfortunately)

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