[prev in list] [next in list] [prev in thread] [next in thread]
List: freetds
Subject: [freetds] Re: set textsize 1048576 fails
From: James Cameron <cameron () stl ! dec ! com>
Date: 2001-10-31 1:28:17
[Download RAW message or body]
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 Cameron
["ct.c.patch" (text/plain)]
Index: 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;
---
You are currently subscribed to freetds as: [freetds@progressive-comp.com]
To unsubscribe, forward this message to leave-freetds-113879Q@franklin.oit.unc.edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic