Fossil

Check-in [95ae79d5]
Login

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

Overview
Comment:Bug fix in the graph layout algorithm.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 95ae79d5044a4401368e5633893dfb2044c8565f
User & Date: drh 2010-02-10 13:13:17
References
2010-02-11
06:28 New ticket [727af73f] ssl: on "pull -R repo", gets ssl certificat again, asks to accept a/y/N. artifact: cdffb007 user: ron
Context
2010-02-13
12:30
Fixed bug [2245a1e3d0]. rm command now properly checks return value. check-in: 02f638a1 user: jeremy_c tags: trunk, release
2010-02-10
13:13
Bug fix in the graph layout algorithm. check-in: 95ae79d5 user: drh tags: trunk
2010-02-09
22:13
Not all tickets are "problems". Adjust label for "one-line summary" entry when creating new ticket. check-in: 2b79f36e user: bch tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/graph.c.

228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
    }
  }

  /* Assign rails to all rows that are still unassigned.
  ** The first primary child of a row goes on the same rail as
  ** that row.
  */
  inUse = 0;
  for(pRow=p->pLast; pRow; pRow=pRow->pPrev){
    int parentRid;
    if( pRow->iRail>=0 ) continue;
    assert( pRow->nParent>0 );
    parentRid = pRow->aParent[0];
    assert( bag_find(&allRids, parentRid) );
    for(pDesc=pRow->pNext; pDesc && pDesc->rid!=parentRid; pDesc=pDesc->pNext){}







|







228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
    }
  }

  /* Assign rails to all rows that are still unassigned.
  ** The first primary child of a row goes on the same rail as
  ** that row.
  */
  inUse = (1<<(p->mxRail+1))-1;
  for(pRow=p->pLast; pRow; pRow=pRow->pPrev){
    int parentRid;
    if( pRow->iRail>=0 ) continue;
    assert( pRow->nParent>0 );
    parentRid = pRow->aParent[0];
    assert( bag_find(&allRids, parentRid) );
    for(pDesc=pRow->pNext; pDesc && pDesc->rid!=parentRid; pDesc=pDesc->pNext){}