From: Dave C. <dj...@ob...> - 2002-07-12 16:43:54
|
Kevin> On 11 Jul 2002, Dave Cole wrote: Kevin> > Thank you very much for that patch. I will apply it this weekend if Kevin> > other family events do not prevent me. Kevin> Kevin> Here is another small patch for FreeTDS that really helps: Kevin> Kevin> --- ct.c~ Thu Jul 11 09:48:00 2002 Kevin> +++ ct.c Thu Jul 11 09:48:00 2002 Kevin> @@ -807,6 +807,8 @@ Kevin> if (cmd->con->tds_socket) { Kevin> tds_free_all_results(cmd->con->tds_socket); Kevin> } Kevin> + if (ret == CS_END_DATA) Kevin> + ret = CS_SUCCEED; Kevin> return ret; Kevin> } Kevin> Kevin> Otherwise, ct_cancel returns CS_END_DATA instead of CS_SUCCEED. That is awesome debugging work. Have you submitted the patch to the FreeTDS dude(s)? - Dave -- http://www.object-craft.com.au |