|
|
sybperl-l Archive
Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: Multiple CTlib CS_COMMAND structures
Date: Jan 15 1996 2:54PM
From: Gisle Aas
>
> We are trying to use client library cursors with CTlib. In order to
> use more than one cursor at the same time we have understood that we
> need to allocate a CS_COMMAND structure for each cursor. Is this
> correct?
This is correct (as far as I know).
> The allocation of a CS_CONNECTION and a CS_COMMAND are bundled
> together inside the perl ct_connect routine. This means that it is not
> possible to have several CS_COMMAND structures share the same
> CS_CONNECTION.
>
> We would like to be able have different perl connection objects
> (Sybase::CTlib objects) that have different CS_COMMAND but share the
> same CS_CONNECTION. Do you have any plans to include support for this?
I had coded this in my first version, but I took it out again because I
didn't see the use. Now I do see the use :-)
Maybe I'll add it again... let me rummage through the old code to see
if this is an easy addition...
Michael
|