mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
19 lines
322 B
C++
19 lines
322 B
C++
|
#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;
|
||
|
};
|
||
|
|
||
|
}
|