Fossil

Graph Test Cases

There are test cases for the merge-riser coalescing logic that was added on 2020-06-08.

The list above was generated by the following script:

``````.mode list
SELECT printf('  *  [%s](/info/%s?diff=0)', hash, hash) FROM (
SELECT count(*) AS cnt, sum(cherrypick=1) AS cp, sum(cherrypick=0) AS n,
(SELECT substr(uuid,1,15) FROM blob WHERE rid=cid) AS hash
FROM (
SELECT cid, 0 AS cherrypick FROM plink WHERE NOT isprim
UNION ALL
SELECT childid, 1 FROM cherrypick
)
GROUP BY cid
HAVING (cp>0 AND n>0) OR cp>3 OR n>2
ORDER BY cnt
);
``````

Similar links to the SQLite repository:

Generated by a very similar script:

``````SELECT printf('  *  [%s](https://sqlite.org/src/info/%s?diff=0)', hash, hash) FROM (
SELECT count(*) AS cnt, sum(cherrypick=1) AS cp, sum(cherrypick=0) AS n,
(SELECT substr(uuid,1,15) FROM blob WHERE rid=cid) AS hash
FROM (
SELECT cid, 0 AS cherrypick FROM plink WHERE NOT isprim
UNION ALL
SELECT childid, 1 FROM cherrypick
)
GROUP BY cid
HAVING (cp>0 AND n>0) OR cp>2 OR n>2
ORDER BY cnt
);
``````