[freetds] CS_CMD_DONE is returned in error case

MATSUMOTO, Tadashi pineroot at yahoo.co.jp
Tue Aug 7 09:21:11 EDT 2007


Thank you for replying. 

I try to check the ct-lib default error handler.

James K. Lowden wrote:
>>> I think this is abnormal case, and I think sybase's behavior is
>>> correct. How can I catch this error?
> 
> Thank you for this report.  I added it to our TODO file.  
> 
> The interesting part is this:
> 
>> ct.c:1123:ct_results() process_result_tokens returned 1 (type 4053)  
>> <--CS_CMD_FAIL was not returned.
> 
> 
> I think that means our ct-lib error handler is not returning a value to
> ct_results() that would cause it to fail.  
> 
> If you want to try to fix it yourself, look at the ct-lib default error
> handler.  
> 
> HTH.  


--
MATSUMOTO, Tadashi


More information about the FreeTDS mailing list