mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
JavaScript: Add upgrade script.
This commit is contained in:
@@ -26980,6 +26980,54 @@
|
||||
</dependencies>
|
||||
</relation>
|
||||
<relation>
|
||||
<name>yaml_locations</name>
|
||||
<cardinality>71</cardinality>
|
||||
<columnsizes>
|
||||
<e>
|
||||
<k>locatable</k>
|
||||
<v>71</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>location</k>
|
||||
<v>71</v>
|
||||
</e>
|
||||
</columnsizes>
|
||||
<dependencies>
|
||||
<dep>
|
||||
<src>locatable</src>
|
||||
<trg>location</trg>
|
||||
<val>
|
||||
<hist>
|
||||
<budget>12</budget>
|
||||
<bs>
|
||||
<b>
|
||||
<a>1</a>
|
||||
<b>2</b>
|
||||
<v>71</v>
|
||||
</b>
|
||||
</bs>
|
||||
</hist>
|
||||
</val>
|
||||
</dep>
|
||||
<dep>
|
||||
<src>location</src>
|
||||
<trg>locatable</trg>
|
||||
<val>
|
||||
<hist>
|
||||
<budget>12</budget>
|
||||
<bs>
|
||||
<b>
|
||||
<a>1</a>
|
||||
<b>2</b>
|
||||
<v>71</v>
|
||||
</b>
|
||||
</bs>
|
||||
</hist>
|
||||
</val>
|
||||
</dep>
|
||||
</dependencies>
|
||||
</relation>
|
||||
<relation>
|
||||
<name>xmlEncoding</name>
|
||||
<cardinality>39724</cardinality>
|
||||
<columnsizes>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
class Locatable extends @locatable { string toString() { none() } }
|
||||
class Location extends @location { string toString() { none() } }
|
||||
|
||||
from Locatable locatable, Location location
|
||||
where
|
||||
hasLocation(locatable, location) and
|
||||
not locatable instanceof @yaml_node and
|
||||
not locatable instanceof @yaml_error
|
||||
select locatable, location
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
description: Split YAML location information out into separate table.
|
||||
compatibility: full
|
||||
hasLocation.rel: run hasLocation.qlo
|
||||
yaml_locations.rel: run yaml_locations.qlo
|
||||
@@ -0,0 +1,9 @@
|
||||
class Locatable extends @locatable { string toString() { none() } }
|
||||
class Location extends @location { string toString() { none() } }
|
||||
|
||||
from Locatable locatable, Location location
|
||||
where
|
||||
hasLocation(locatable, location) and
|
||||
(locatable instanceof @yaml_node or
|
||||
locatable instanceof @yaml_error)
|
||||
select locatable, location
|
||||
Reference in New Issue
Block a user