Corretta savekeystat nell cisdelete
git-svn-id: svn://10.65.10.50/trunk@713 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d7aec9b15e
commit
8ec5744a57
@ -815,7 +815,6 @@ key = valori chiave.
|
|||||||
{
|
{
|
||||||
CBuildKey(isfd->r,i,record,key);
|
CBuildKey(isfd->r,i,record,key);
|
||||||
CBDelete(&isfd->i,i,key,isfd->RecNo,err);
|
CBDelete(&isfd->i,i,key,isfd->RecNo,err);
|
||||||
if (i == knum) savekeystat(isfd);
|
|
||||||
}
|
}
|
||||||
if (*err)
|
if (*err)
|
||||||
{
|
{
|
||||||
@ -1250,6 +1249,7 @@ key1 = valore della chiave.
|
|||||||
if(isfd == (isfdptr) NULL) return ((*err = IsNotOpen));
|
if(isfd == (isfdptr) NULL) return ((*err = IsNotOpen));
|
||||||
oldrec = (RecType) malloc(isfd->d->LenR);
|
oldrec = (RecType) malloc(isfd->d->LenR);
|
||||||
isfd->RecNo = recnum;
|
isfd->RecNo = recnum;
|
||||||
|
savekeystat(isfd);
|
||||||
CRead(&isfd->f, oldrec, isfd->RecNo, NoLock);
|
CRead(&isfd->f, oldrec, isfd->RecNo, NoLock);
|
||||||
if ((*err = isfd->f.IOR))
|
if ((*err = isfd->f.IOR))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user