[freetds] Affected Rows with FreeTDS and DBI

Glen Malley glen at gmo.jp
Fri Aug 8 14:29:54 EDT 2003


Thanks very much.
It seems that using these changes and a more up to date
version has solved the issue completely.
I appreciate all the help I've been given.

Lowden, James K wrote:

>>From: Thompson, Bill D (London) [mailto:ThompBil at exchange.uk.ml.com]
>>Sent: August 6, 2003 10:03 AM
>>To: 'FreeTDS Development Group'
>>
>>No matter, you then get the DONE token (0xfd)
>>
>>fd 10  00 c5 00 01 00 00 00      
>>
>>The first two bytes indicate that the "done count" is valid, 
>>and the last 4
>>bytes are the "done count" , which is 1 (4 byte integer, 
>>little endian)
> 
> ...
> 
>>perhaps you could put a tdsdump message into the 
>>tds_process_end() function
>>(in file src/tds/token.c)
> 
> 
> I updated this in CVS.  Patch attached.
> 
> The log says:
> 
> 2003-08-06 08:52:40.966810 inside ct_res_info()
> 2003-08-06 08:52:40.966829 ct_res_info(): Number of rows is 0
> 
> even though, as you say, rows_affected was 1.  It will be interesting to see
> the next log.  
> 
> --jkl
> 
> 
> -----------------------------------------
> The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds



More information about the FreeTDS mailing list