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: dbrpcsend without dbsqlok
Date: Aug 31 1999 8:48PM

WORENKLEIN, David, GCM writes:
 > Mike --
 > 
 > In dblib.xs, you say 
 > 
 > 	/* temporay [sic] solution: call dbsqlok() directly after
 > dbrpcsend() */
 > 
 > I think it's time to find a more permanent solution.  I need to call
 > dbrpcsend(), dbpoll() at intervals until something comes back, and then call
 > dbsqlok().
 > There are two ways to do this that maintain backwards compatibility:
 > 
 >   1. A new function, dbrpcsendnook
 >   2. An optional second parameter, no_dbsqlok.
 > 
 > The second looks better to me.
 > 
 > I've hacked up my 2.10, and I clean up the dbrpcparam list before calling
 > dbsqlok.  I haven't had any problems with it yet, but I haven't purified my
 > code, either.

I also like the second solution best.

How 'bout sending me your diffs?

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