|
|
Choosing A Webhost: |
RE: Need help with SQL server stored procedure: msg#00175db.tds.freetds
On Sat, 2003-07-19 at 18:25, Staats, Frederick W wrote: > I noticed that DBD::Sybase was broken with freetds 0.61. When I tracked > down the problem in June it appeared to be due to a patch in the return > codes from a different bug. Here is the email thread I had with the > Michael > Peppler the maintainer of Sybase::DBD. He was going to follow up on it > but I don't know the current status. Included in the email is a patch > to DBD::Sybase but if the CVS for freetds is working then someone also > fixed on the freetds side. Frederick's patch looks like this: > if(failFlag || retcode == CS_FAIL || retcode == CS_CANCELED) > return CS_CMD_FAIL; > > - /* FreeTDS added a result code CS_END_RESULTS */ > - /* Do the right thing with it Frederick Staats, 6/26/03 */ > - if(retcode == CS_END_RESULTS) > - restype= CS_CMD_DONE; > - > imp_sth->lastResType = restype; The Sybase libraries' version of ct_results(&restype) also return CS_END_RESULTS when all the data has been fetched, but it sets the restype to either CS_CMD_DONE or CS_CMD_FAIL in that situation. The patch above is needed because FreeTDS sets the restype to some other value for the final call to ct_results() - which may be a bug in FreeTDS. Michael
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Compile problems with AIX 5.0, Mark Heares |
|---|---|
| Next by Date: | pool server, Marquess, Dustin |
| Previous by Thread: | Compile problems with AIX 5.0, Davis, Rick |
| Next by Thread: | pool server, Marquess, Dustin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |