Fossil

Check-in [d81c42d9ed]
Login

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

Overview
Comment:Fix an issue with the "uf=" query parameter on the timeline.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d81c42d9eda6bc80bceeae797c28fbe1540bef7c
User & Date: drh 2014-09-17 15:13:08.384
Context
2014-09-18
22:51
Make sure the 'modreq' table is created, if necessary, in the repository database. check-in: 12b463ca05 user: mistachkin tags: trunk
2014-09-17
17:49
Merge updates from trunk. check-in: 8ff50dd7e2 user: mistachkin tags: please-review
15:13
Fix an issue with the "uf=" query parameter on the timeline. check-in: d81c42d9ed user: drh tags: trunk
14:41
fix issue when showing checkins using a file incorrect checkins shown after merge Closed-Leaf check-in: 813b860ce4 user: baruch tags: pending-review
2014-09-16
20:50
Fix typo in CSS, see [bed6662935]. check-in: 3d2690a976 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/descendants.c.
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
    if( usesFlags & USESFILE_DELETE ){
      db_bind_int(&ins, ":rid", mid);
      db_step(&ins);
      db_reset(&ins);
    }
  }
  db_finalize(&q);
  db_prepare(&q, "SELECT cid FROM plink WHERE pid=:rid");

  while( (rid = bag_first(&pending))!=0 ){
    bag_remove(&pending, rid);
    db_bind_int(&q, ":rid", rid);
    while( db_step(&q)==SQLITE_ROW ){
      int mid = db_column_int(&q, 0);
      if( bag_find(&seen, mid) ) continue;







|







529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
    if( usesFlags & USESFILE_DELETE ){
      db_bind_int(&ins, ":rid", mid);
      db_step(&ins);
      db_reset(&ins);
    }
  }
  db_finalize(&q);
  db_prepare(&q, "SELECT cid FROM plink WHERE pid=:rid AND isprim");

  while( (rid = bag_first(&pending))!=0 ){
    bag_remove(&pending, rid);
    db_bind_int(&q, ":rid", rid);
    while( db_step(&q)==SQLITE_ROW ){
      int mid = db_column_int(&q, 0);
      if( bag_find(&seen, mid) ) continue;