[python-sybase] FreeTDS + Sybase Module = MS SQL 2000
Kevin Jacobs
jacobs at penguin.theopalgroup.com
Thu, 11 Jul 2002 14:22:46 -0400 (EDT)
On 11 Jul 2002, Dave Cole wrote:
> Thank you very much for that patch. I will apply it this weekend if
> other family events do not prevent me.
Here is another small patch for FreeTDS that really helps:
--- ct.c~ Thu Jul 11 09:48:00 2002
+++ ct.c Thu Jul 11 09:48:00 2002
@@ -807,6 +807,8 @@
if (cmd->con->tds_socket) {
tds_free_all_results(cmd->con->tds_socket);
}
+ if (ret == CS_END_DATA)
+ ret = CS_SUCCEED;
return ret;
}
Otherwise, ct_cancel returns CS_END_DATA instead of CS_SUCCEED.
-Kevin
--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com
Fax: (216) 986-0714 WWW: http://www.theopalgroup.com