Fossil

Check-in [2d581c03]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Comment changes to the pre-commit verification logic. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2d581c03e53e465f186161bb66eed76807061451
User & Date: drh 2008-05-10 18:09:31
Context
2008-05-10
18:19
Add the -nosync option to the "open" command. We might consider making -nosync the default for "open". check-in: ec82a32b user: drh tags: trunk
18:09
Comment changes to the pre-commit verification logic. No changes to code. check-in: 2d581c03 user: drh tags: trunk
18:01
Help message cleanup. Automatically delete cloned database files if the clone fails. check-in: 6b85fd17 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/verify.c.

68
69
70
71
72
73
74



75
76
77
78
79
80
81
** to be verified.
*/
static Bag toVerify;
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 ){







>
>
>







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
** to be verified.
*/
static Bag toVerify;
static int inFinalVerify = 0;

/*
** This routine is called just prior to each commit operation.  
**
** Invoke verify_rid() on every record that has been added or modified
** in the repository, in order to make sure that the repository is sane.
*/
static int verify_at_commit(void){
  int rid;
  content_clear_cache();
  inFinalVerify = 1;
  rid = bag_first(&toVerify);
  while( rid>0 ){