Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Sybase::CTlib ct_callback
Date: Mar 22 2000 3:31PM
> 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
(I don't have the time to hack sybperl at the moment, unfortunately)
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com