Fossil SCM

Comment changes to the pre-commit verification logic. No changes to code.

drh 2008-05-10 18:09 trunk
Commit 2d581c03e53e465f186161bb66eed76807061451
1 file changed +3
--- src/verify.c
+++ src/verify.c
@@ -70,10 +70,13 @@
7070
static Bag toVerify;
7171
static int inFinalVerify = 0;
7272
7373
/*
7474
** This routine is called just prior to each commit operation.
75
+**
76
+** Invoke verify_rid() on every record that has been added or modified
77
+** in the repository, in order to make sure that the repository is sane.
7578
*/
7679
static int verify_at_commit(void){
7780
int rid;
7881
content_clear_cache();
7982
inFinalVerify = 1;
8083
--- src/verify.c
+++ src/verify.c
@@ -70,10 +70,13 @@
70 static Bag toVerify;
71 static int inFinalVerify = 0;
72
73 /*
74 ** This routine is called just prior to each commit operation.
 
 
 
75 */
76 static int verify_at_commit(void){
77 int rid;
78 content_clear_cache();
79 inFinalVerify = 1;
80
--- src/verify.c
+++ src/verify.c
@@ -70,10 +70,13 @@
70 static Bag toVerify;
71 static int inFinalVerify = 0;
72
73 /*
74 ** This routine is called just prior to each commit operation.
75 **
76 ** Invoke verify_rid() on every record that has been added or modified
77 ** in the repository, in order to make sure that the repository is sane.
78 */
79 static int verify_at_commit(void){
80 int rid;
81 content_clear_cache();
82 inFinalVerify = 1;
83

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button