Fossil

Check-in [95ae79d504]
Login

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

Overview
Comment:Bug fix in the graph layout algorithm.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 95ae79d5044a4401368e5633893dfb2044c8565f
User & Date: drh 2010-02-10 13:13:17.000
References
2010-02-11
06:28 New ticket [727af73f46] ssl: on "pull -R repo", gets ssl certificat again, asks to accept a/y/N. ... (artifact: cdffb007b8 user: ron)
Context
2010-02-13
12:30
Fixed bug [2245a1e3d0]. rm command now properly checks return value. ... (check-in: 02f638a16f user: jeremy_c tags: trunk, release)
2010-02-10
13:13
Bug fix in the graph layout algorithm. ... (check-in: 95ae79d504 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: 2b79f36e5a user: bch tags: trunk)
Changes
Unified Diff 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){}