mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Add DB upgrade scripts for diagnostics and compilation_finished
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Compilation extends @compilation {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from Compilation c, float cpu_seconds, float elapsed_seconds
|
||||
where compilations(c, cpu_seconds, elapsed_seconds)
|
||||
select c, cpu_seconds, elapsed_seconds, /* success */ 0
|
||||
@@ -0,0 +1,13 @@
|
||||
class Diagnostic extends @diagnostic {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class Location extends @location_default {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from
|
||||
Diagnostic d, int severity, string error_tag, string error_message, string full_error_message,
|
||||
Location l
|
||||
where diagnostics(d, severity, error_tag, error_message, full_error_message, l)
|
||||
select d, /* generated_by */ "", severity, error_tag, error_message, full_error_message, l
|
||||
@@ -1,4 +1,6 @@
|
||||
description: Add Kotlin support
|
||||
compatibility: backwards
|
||||
compilations.rel: run compilations.qlo
|
||||
diagnostics.rel: run diagnostics.qlo
|
||||
compilation_finished.rel: run compilation_finished.qlo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user