[freetds] CS_CMD_DONE is returned in error case
MATSUMOTO, Tadashi
pineroot at yahoo.co.jp
Fri Aug 3 09:41:32 EDT 2007
Hi all,
I executed the following SQL by using the ct_send function.
" exec sp_XXXX "
(But "sp_XXXX" is not registered in DB.)
The SQL was normally transmitted to Server, then "CS_SUCCEED" has returned.
The return value of result_type of the ct_results function is "CS_CMD_DONE" in case of FreeTDS.
but is "CS_CMD_FAIL" in case of sybase,
I think this is abnormal case, and I think sybase's behavior is correct.
How can I catch this error?
The test environment is as follows.
・SUA on MS WindowsServer 2003 R2
・MS SQLServer 2005
・FreeTds 0.64
VS
・Sun Solaris 8
・SYBASE ASE12.5
・OpenClient12.5
Thanks.
--
MATSUMOTO, Tadashi
More information about the FreeTDS
mailing list