aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/Access/ParserShowPrivilegesQuery.h
blob: 2604e7f28c16f0f71f55a37e8a306f385e286891 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <Parsers/IParserBase.h>


namespace DB
{

/** Query SHOW PRIVILEGES
  */
class ParserShowPrivilegesQuery : public IParserBase
{
protected:
    const char * getName() const override { return "SHOW PRIVILEGES query"; }
    bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};

}