Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very Bad Bug in VFP5.0 and VFP6.0 !!!
Message
From
30/12/1998 12:34:41
 
 
To
30/12/1998 12:27:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00171436
Message ID:
00171592
Views:
36
>>>>Geno,
>>>>
>>>>I'm going to call it "by design". I'm sure index is not updated until the buffered table is updated. It makes sense (at least to me). Have you tries other commands like LOCATE()?
>>>>
>>>
>>>LOCATE works. What i don't understand, doesn't LOCATE use rushmore and the index? I tested this on a table with 350,000+ records and a compound index and the seek and locate were about the same speed. I would expect this since the locate is rushmore and the index. But why does LOCATE(which uses the index) work and SEEK(which also uses the index) does not?
>>>
>>>Geno
>>
>>SEEK requires to have index tag, and LOCATE may use (for optimization) or not use index tag.
>
>I know the difference between LOCATE and SEEK. My question is what on works and the other does not when there is an index?
>
>Geno

I cannot say by sure why it's so. You know, there are alot of hidden features which might be perceived or not as bugs. My understanding is that table buffering on big table is really rare case. Obviously index should not be changed before tableupdate committed, it might be logical reason behind this behaviour.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform