Not logged in
Changes On Branch cluster-changes

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

Changes In Branch cluster-changes Excluding Merge-Ins

This is equivalent to a diff from 1d30672588 to 2145a12ce9

2014-06-25
07:57
Add the .fullschema command to "fossil sqlite". This command shows the schema and the content of the sqlite_stat tables, all in one go. Useful when reporting problems with the query planner. check-in: 7ba8311e57 user: jan.nijtmans tags: trunk
06:51
Use query that is similar to other queries in function. Leaf check-in: 2145a12ce9 user: andybradford tags: cluster-changes
2014-06-24
06:19
Don't delete phantom artifacts from unclustered table. Potential fix for missing sync content as reported on ML. check-in: 41b29f38fd user: andybradford tags: cluster-changes
00:40
Merge updates from trunk. Leaf check-in: 591bc4434b user: mistachkin tags: experimental
2014-06-23
09:35
Make daysOfWeek a const table. c/char const/const char/ check-in: 1d30672588 user: jan.nijtmans tags: trunk
04:26
Reorder include statements in 'main.c' to resolve an obscure compilation issue reported via the mailing list. check-in: 76303fb0c0 user: mistachkin tags: trunk

Changes to src/xfer.c.

698
699
700
701
702
703
704
705

706
707
708
709
710
711
712
        nUncl -= nRow;
        nRow = 0;
        blob_appendf(&deleteWhere, ",%d", rid);
      }
    }
    db_finalize(&q);
    db_multi_exec(
      "DELETE FROM unclustered WHERE rid NOT IN (0 %s)",

      blob_str(&deleteWhere)
    );
    blob_reset(&deleteWhere);
    if( nRow>0 ){
      md5sum_blob(&cluster, &cksum);
      blob_appendf(&cluster, "Z %b\n", &cksum);
      blob_reset(&cksum);







|
>







698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
        nUncl -= nRow;
        nRow = 0;
        blob_appendf(&deleteWhere, ",%d", rid);
      }
    }
    db_finalize(&q);
    db_multi_exec(
      "DELETE FROM unclustered WHERE rid NOT IN (0 %s)"
      "   AND NOT EXISTS(SELECT 1 FROM phantom WHERE rid=unclustered.rid)",
      blob_str(&deleteWhere)
    );
    blob_reset(&deleteWhere);
    if( nRow>0 ){
      md5sum_blob(&cluster, &cksum);
      blob_appendf(&cluster, "Z %b\n", &cksum);
      blob_reset(&cksum);