Re: record count -1

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Ralph" <nt_consulting64@xxxxxxxxx> wrote in message
news:0p-dnfPpmsSd_3LZnZ2dnUVZ_sednZ2d@xxxxxxxxxxxxxxx

"Dmitriy Antonov" <antonovdima@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:erWvYhHyGHA.4044@xxxxxxxxxxxxxxxxxxxxxxx

"Terry Kreft" <terry.kreft@xxxxxxxxx> wrote in message
news:OJSEqcHyGHA.2168@xxxxxxxxxxxxxxxxxxxxxxx
Recordcount is not going to reliably return the count of records.

I don't think it is true. It may not return any count at all, like in the
case with OP, but if it, indeed, returns some value greater than -1,
then
it must be reliable (at least, I never heard about problems with
incorrect
counting and never had such problems in my experience).

Dmitriy.


You touch on an interesting bit of Data Access history. (to me anyway) In
earlier days there was such a wide variety of providers, library versions,
and a general lack of understanding of the different cursors types. There
was even a reported 'bug' in some ODBC driver that it returned an erronous
recordcount, though I am not sure it was ever really tracked down.


I wasn't working as a programmer at that time - hence my "confidence" in
this property's behavior :-)

Dmitriy.


.



Relevant Pages

  • Re: Side effects in conditional expressions
    ... Because understanding the author is a very big help in understanding the ... we had a bug reported against our toolchain. ... and since many C idioms are idioms because they provide protection ... Heuristics are awesome. ...
    (comp.lang.c)
  • Re: writing to freed memory--issues
    ... I was playing around with a toy program, which led to some confusion. ... bug, just trying to understand the behavior. ... Why does the segfault keep occurring ... I figure understanding ...
    (comp.os.linux.development.apps)
  • [patch 2.6.28-rc6] when to BUG(), and when to not BUG()
    ... This matches my understanding of the standard policy ... ... seems not to be written down so far, outside of LKML messages ... * If you're tempted to BUG(), think again: ...
    (Linux-Kernel)
  • Re: Newbie
    ... I might very well use a debugger for that. ... it was about understanding a program. ... conditional breakpoint set to trigger if the point in the code is ... by a bug fix as soon as possible. ...
    (comp.programming)
  • Re: ntpd not removed; WITHOUT_NTP enabled in src.conf
    ... >> which from my understanding should not build ntpd, ... If that doesn't work for WITHOUT_NTP, then that's a bug. ... Deleting is some kind of undocumented feature which never worked for all the WITHOUT_ variables. ...
    (freebsd-stable)