[freetds] dblib and output parameters of stored procedures
lacak at zoznam.sk
Tue Apr 1 02:11:02 EDT 2014
James K. Lowden wrote / napísal(a):
> On Mon, 31 Mar 2014 08:15:29 +0200
> LacaK <lacak at zoznam.sk> wrote:
>> BTW what means message in tdsdump:
>> dblib.c:4742:..\..\src\dblib\dblib.c 4743: logic error:
>> tds_process_tokens result_type 4043
> That means result_type 4043 for TDS_SUCCESS code isn't handled. That
> result_type is an output of tds_process_default_tokens representing a
> TDS_STATUS_RESULT for a TDS_RETURNSTATUS packet.
> Without looking further, the message may indicate that the return
> status from a stored procedure was not correctly reported.
I do not know, but I can read correct "return status" using
(tested in MS SQL 2000 and 2012 both return same message: logic error:
tds_process_tokens result_type 4043)
Thank you for assistance.
I attach trivial patch for win32/dblib.def Can you accept it please?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the FreeTDS