Add privilege check in triggers and streams (#200)

This commit is contained in:
János Benjamin Antal
2021-07-22 16:22:08 +02:00
committed by GitHub
parent 09c58501f1
commit 09cfca35f8
36 changed files with 1413 additions and 810 deletions

View File

@@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
query::Interpreter interpreter{&interpreter_context};
ResultStreamFaker stream(&db);
auto [header, _, qid] = interpreter.Prepare(argv[1], {});
auto [header, _, qid] = interpreter.Prepare(argv[1], {}, nullptr);
stream.Header(header);
auto summary = interpreter.PullAll(&stream);
stream.Summary(summary);