Skip to Content.
Sympa Menu

freetds - Re: set textsize 1048576 fails

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <cameron AT stl.dec.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: set textsize 1048576 fails
  • Date: Wed, 31 Oct 2001 12:28:17 +1100

Fixed. PHP no longer loops. SET TEXTSIZE and SET ROWCOUNT now work
prior to a SELECT. The attached patch has been applied to
src/ctlib/ct.c to return the CS_END_RESULTS status instead of CS_SUCCEED
once the non-existent result set is finished.

Thanks for your help, Brian.

--
James CameronIndex: ct.c
===================================================================
RCS file: /cvsroot/freetds/freetds/src/ctlib/ct.c,v
retrieving revision 1.5
diff -u -u -r1.5 ct.c
--- ct.c 2001/10/30 19:07:35 1.5
+++ ct.c 2001/10/31 01:24:31
@@ -417,7 +417,7 @@
if (cmd->empty_res_hack) {
cmd->empty_res_hack=0;
*result_type = CS_CMD_DONE;
- return CS_SUCCEED;
+ return CS_END_RESULTS;
} else {
cmd->empty_res_hack=1;
*result_type = CS_CMD_SUCCEED;



Archive powered by MHonArc 2.6.24.

Top of Page