Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the VFP File System Stable
Message
De
26/10/2001 12:27:00
 
 
À
26/10/2001 12:19:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00571072
Message ID:
00573736
Vues:
23
>>
>>My suggestion would be to check out the Primary Key article on Craig's site (www.craigberntson.com). Uniqueness is enforced by an flock() on the keys table before obtaining the next key value (which I think is clever, Craig).
>>
>
>Thanks. For the record, many people have told me they use my code to generate their PKs, often times in heavily used tables. No one has experienced any problems with the FLOCK().
>

Well, flock() is faster than rlock(), and it is only locked for a very short instance. BTW, what SET REPROCESS setting do you use for this?
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform