mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swlft: add database upgrade scripts
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
// Converts SingleValueStmtExprs into UnspecifiedElements
|
||||
class Element extends @element {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from Element e, string property, string error
|
||||
where
|
||||
single_value_stmt_exprs(e, _) and
|
||||
property = "" and
|
||||
error = "Removed SingleValueStmtExpr during the database downgrade"
|
||||
or
|
||||
unspecified_elements(e, property, error)
|
||||
select e, property, error
|
||||
@@ -0,0 +1,5 @@
|
||||
description: Removing SingleValueStmtExpr
|
||||
compatibility: partial
|
||||
|
||||
unspecified_elements.rel: run unspecified_elements.ql
|
||||
single_value_stmt_exprs.rel: delete
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
description: Added SingleValueStmtExpr
|
||||
compatibility: full
|
||||
Reference in New Issue
Block a user