From: Kevin J. <ja...@pe...> - 2002-07-12 11:22:50
|
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: ja...@th... Fax: (216) 986-0714 WWW: http://www.theopalgroup.com |