Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,428 changes: 2,428 additions & 0 deletions cpp/downgrades/5491582ac8511726e12fae3e2399000f9201cd9a/old.dbscheme

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
description: Remove unused external_package tables from the dbscheme
compatibility: full
23 changes: 0 additions & 23 deletions cpp/ql/lib/semmlecode.cpp.dbscheme
Original file line number Diff line number Diff line change
Expand Up @@ -217,29 +217,6 @@ diagnostics(

/*- C++ dbscheme -*/

/**
* Information about packages that provide code used during compilation.
* The `id` is just a unique identifier.
* The `namespace` is typically the name of the package manager that
* provided the package (e.g. "dpkg" or "yum").
* The `package_name` is the name of the package, and `version` is its
* version (as a string).
*/
external_packages(
unique int id: @external_package,
string namespace : string ref,
string package_name : string ref,
string version : string ref
);

/**
* Holds if File `fileid` was provided by package `package`.
*/
header_to_external_package(
int fileid : @file ref,
int package : @external_package ref
);

/*
* C++ dbscheme
*/
Expand Down
283 changes: 0 additions & 283 deletions cpp/ql/lib/semmlecode.cpp.dbscheme.stats
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<k>@diagnostic</k>
<v>1483</v>
</e>
<e>
<k>@external_package</k>
<v>4</v>
</e>
<e>
<k>@location_default</k>
<v>46965948</v>
Expand Down Expand Up @@ -6192,285 +6188,6 @@
</dep>
</dependencies>
</relation>
<relation>
<name>external_packages</name>
<cardinality>4</cardinality>
<columnsizes>
<e>
<k>id</k>
<v>4</v>
</e>
<e>
<k>namespace</k>
<v>1</v>
</e>
<e>
<k>package_name</k>
<v>4</v>
</e>
<e>
<k>version</k>
<v>4</v>
</e>
</columnsizes>
<dependencies>
<dep>
<src>id</src>
<trg>namespace</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>id</src>
<trg>package_name</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>id</src>
<trg>version</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>namespace</src>
<trg>id</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>4</a>
<b>5</b>
<v>1</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>namespace</src>
<trg>package_name</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>4</a>
<b>5</b>
<v>1</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>namespace</src>
<trg>version</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>4</a>
<b>5</b>
<v>1</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>package_name</src>
<trg>id</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>package_name</src>
<trg>namespace</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>package_name</src>
<trg>version</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>version</src>
<trg>id</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>version</src>
<trg>namespace</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>version</src>
<trg>package_name</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>4</v>
</b>
</bs>
</hist>
</val>
</dep>
</dependencies>
</relation>
<relation>
<name>header_to_external_package</name>
<cardinality>92</cardinality>
<columnsizes>
<e>
<k>fileid</k>
<v>92</v>
</e>
<e>
<k>package</k>
<v>4</v>
</e>
</columnsizes>
<dependencies>
<dep>
<src>fileid</src>
<trg>package</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>92</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>package</src>
<trg>fileid</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>1</v>
</b>
<b>
<a>5</a>
<b>6</b>
<v>1</v>
</b>
<b>
<a>6</a>
<b>7</b>
<v>1</v>
</b>
<b>
<a>80</a>
<b>81</b>
<v>1</v>
</b>
</bs>
</hist>
</val>
</dep>
</dependencies>
</relation>
<relation>
<name>extractor_version</name>
<cardinality>124</cardinality>
Expand Down
Loading