Re: sybperl ct_config CS_RETRY_COUNT

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
On Thu, 2005-08-25 at 16:53 +0900, Ashish Gupta wrote:
>
> If I want to restrict the number of retries, using the following
> command :
> 
>         ct_config(CS_SET, CS_RETRY_COUNT, 2, CS_INT_TYPE);
> 
> I get the following errors :
> 
> 
> Argument "CS_RETRY_COUNT" isn't numeric in subroutine entry at b.pl
> line 12.

I guess CS_RETRY_COUNT isn't exported.

Try:

ct_config(CS_SET, &Sybase::CTlib::CS_RETRY_COUNT, 2, CS_INT_TYPE);

Michael
-- 
Michael Peppler  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.