blob: a120d4ed7c25d99d9eac9012496df036b9f88aaf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <Parsers/Access/ParserShowPrivilegesQuery.h>
#include <Parsers/Access/ASTShowPrivilegesQuery.h>
#include <Parsers/CommonParsers.h>
namespace DB
{
bool ParserShowPrivilegesQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
{
auto query = std::make_shared<ASTShowPrivilegesQuery>();
if (!ParserKeyword("SHOW PRIVILEGES").ignore(pos, expected))
return false;
node = query;
return true;
}
}
|