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

3
C/bb.c
View File

@@ -313,9 +313,8 @@ p_bb_update(void)
ReleaseTermFromDB(p->Element);
p->Element = StoreTermInDB(3,3);
WRITE_UNLOCK(p->BBRWLock);
return(TRUE);
return(p->Element != NULL);
}
static Int