Differences From Artifact [8d633e10bb]:
- File src/verify.c — part of check-in [d5e7891b07] at 2007-11-18 20:48:07 on branch trunk — Add a more advanced commit-hook mechanism that allows us to specify multiple procedures in a particular order prior to commit. Continuing work toward getting tickets going. (user: drh size: 3501) [more...]
To Artifact [f05153c954]:
- File src/verify.c — part of check-in [61ddd63b72] at 2008-03-06 22:58:48 on branch trunk — Work toward making fossil work better on large repositories. This version implements a cache in the content manager. It is not clear yet if this is necessarily a good idea - this check-in might end up on an abandoned branch at some point. (user: drh size: 3526)
| ︙ | ︙ | |||
71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
static int inFinalVerify = 0;
/*
** This routine is called just prior to each commit operation.
*/
static int verify_at_commit(void){
int rid;
inFinalVerify = 1;
rid = bag_first(&toVerify);
while( rid>0 ){
verify_rid(rid);
rid = bag_next(&toVerify, rid);
}
bag_clear(&toVerify);
| > | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
static int inFinalVerify = 0;
/*
** This routine is called just prior to each commit operation.
*/
static int verify_at_commit(void){
int rid;
content_clear_cache();
inFinalVerify = 1;
rid = bag_first(&toVerify);
while( rid>0 ){
verify_rid(rid);
rid = bag_next(&toVerify, rid);
}
bag_clear(&toVerify);
|
| ︙ | ︙ |