Add privilege check in triggers and streams (#200)
This commit is contained in:
committed by
GitHub
parent
09c58501f1
commit
09cfca35f8
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user