Skip to Content.
Sympa Menu

freetds - Num Rows issue...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jay Van Vark <jay AT vanvark.net>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Num Rows issue...
  • Date: Tue, 23 Jul 2002 14:33:40 -0700


I am struggling to figure out where a problem is with FreeTDS...

I have some simple code that always returns 0 for the number of rows...

I have been making some simple printf statement to try to track things
down...

old_city2) = 'los angeles' OR Lower(old_city3) = 'los angeles' OR
Lower(old_city4) = 'los angeles' OR Lower(old_city5) = 'los angeles'

[JVV][Here I am in _SQLExecute... - getting the end of it ][0]

-- the above is coming right AFTER the call to

ret = tds_process_result_tokens(tds);

in _SQLExecute

I get some valid data displayed from isql...

[JVV][Here I am in process_END - getting the end of it ][10]

-- the above is coming from the tds_process_end function --

Then the isql final for the number of rows..

10 rows affected

The most interesting thing is the above is the sequence...!

How can the line after the call to tds_process_result_tokens do it's printf
before the one inside the tds_process_end -- which is of course called as
part of the tds_process_result_tokens...

Any help would be greatly appreciated....



Jay Van Vark
'Guiding Positive Change in High-Tech Companies'
one box voicemail (866) 248-7670 x 6471
efax (801) 659-7952

-- Great tool for advertising bid optimization, check out:
http://www.Promote4Less.com






Archive powered by MHonArc 2.6.24.

Top of Page