Fossil

Check-in [cfb1341ae3]
Login

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

Overview
Comment:Fix an assert in the rebuild command.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cfb1341ae3d84744262cfd682be88549db0f3a47
User & Date: drh 2008-06-02 09:54:38.000
Context
2008-06-02
15:01
Clicking the "Shun" submenu does not shun immediately, but only takes you to the page where you can click the "shun" button. ... (check-in: 94a93469c8 user: drh tags: trunk)
09:54
Fix an assert in the rebuild command. ... (check-in: cfb1341ae3 user: drh tags: trunk)
2008-05-29
14:38
Add a missing semicolon to the previous checkin. ... (check-in: 5b61ad3a4c user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/rebuild.c.
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
static int ttyOutput;       /* Do progress output */
static Bag bagDone;         /* Bag of records rebuilt */

/*
** Called after each artifact is processed
*/
static void rebuild_step_done(rid){
  assert( bag_find(&bagDone, rid)==0 );
  bag_insert(&bagDone, rid);
  if( ttyOutput ){
    processCnt++;
    printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize));
    fflush(stdout);
  }
}







|







72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
static int ttyOutput;       /* Do progress output */
static Bag bagDone;         /* Bag of records rebuilt */

/*
** Called after each artifact is processed
*/
static void rebuild_step_done(rid){
  /* assert( bag_find(&bagDone, rid)==0 ); */
  bag_insert(&bagDone, rid);
  if( ttyOutput ){
    processCnt++;
    printf("%d (%d%%)...\r", processCnt, (processCnt*100/totalSize));
    fflush(stdout);
  }
}