be more careful about error handling when storing DB terms

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@399 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2002-03-07 05:13:21 +00:00
parent 43cad85ace
commit 798bdbdf39
13 changed files with 997 additions and 1041 deletions

View File

@@ -1534,6 +1534,10 @@ p_assign_static(void)
ReleaseTermFromDB(ref);
}
ptr->ValueOfVE.terms[indx] = StoreTermInDB(3,3);
if (ptr->ValueOfVE.terms[indx]){
WRITE_UNLOCK(ptr->ArRWLock);
return(FALSE);
}
}
break;
}