Corretta savekeystat nell cisdelete

git-svn-id: svn://10.65.10.50/trunk@713 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1994-12-02 13:04:43 +00:00
parent d7aec9b15e
commit 8ec5744a57

View File

@ -815,7 +815,6 @@ key = valori chiave.
{
CBuildKey(isfd->r,i,record,key);
CBDelete(&isfd->i,i,key,isfd->RecNo,err);
if (i == knum) savekeystat(isfd);
}
if (*err)
{
@ -1250,6 +1249,7 @@ key1 = valore della chiave.
if(isfd == (isfdptr) NULL) return ((*err = IsNotOpen));
oldrec = (RecType) malloc(isfd->d->LenR);
isfd->RecNo = recnum;
savekeystat(isfd);
CRead(&isfd->f, oldrec, isfd->RecNo, NoLock);
if ((*err = isfd->f.IOR))
{