mirror of
https://github.com/github/codeql.git
synced 2026-08-04 17:33:18 +02:00
Adds a new `isLazy` predicate to the relevant classes, and adds the relevant dbscheme (and up/downgrade) changes. On upgrades we do nothing, and on downgrades we remove the `is_lazy` bits.
13 lines
378 B
Plaintext
13 lines
378 B
Plaintext
class BoolParent extends @py_bool_parent {
|
|
string toString() { result = "BoolParent" }
|
|
}
|
|
|
|
// Drop py_bools rows for Import and ImportStar parents,
|
|
// since the old schema does not include them in @py_bool_parent.
|
|
from BoolParent parent, int idx
|
|
where
|
|
py_bools(parent, idx) and
|
|
not parent instanceof @py_Import and
|
|
not parent instanceof @py_ImportStar
|
|
select parent, idx
|