Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were looking up for symbols occurences only in the package where they were defined. This was a forgotten WIP mock...
- Loading branch information
Showing
5 changed files
with
59 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- Those requests are quite handy to manually debug the software. | ||
|
||
-- Check the packages dep graph | ||
select p1.name, '=>', p2.name from dependancies d | ||
inner join packages p1 on (d.packId = p1.packageId) | ||
inner join packages p2 on (d.depId = p2.packageId); | ||
|
||
-- Where did we find the occurences? | ||
select p.name, em.name, es.name from symbolOccurences so | ||
inner join exposedSymbols es on (so.importedSymId = es.id) | ||
inner join exposedModules em on (es.modId = em.id) | ||
inner join packages p on (em.packId = p.packageId); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters