Skip to Content.
Sympa Menu

freetds - RE: [freetds] Affected Rows with FreeTDS and DBI

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Affected Rows with FreeTDS and DBI
  • Date: Wed, 6 Aug 2003 12:12:43 -0400

> 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.

Attachment: token.diff
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page