ClickHouse/dbms/include/DB/Interpreters/InterpreterRenameQuery.h
alexey-milovidov 17a4ead1ef Setting fsync metadata (#380)
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].

* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00

27 lines
382 B
C++

#pragma once
#include <DB/Interpreters/Context.h>
#include <DB/Interpreters/IInterpreter.h>
namespace DB
{
/** Rename one table
* or rename many tables at once.
*/
class InterpreterRenameQuery : public IInterpreter
{
public:
InterpreterRenameQuery(ASTPtr query_ptr_, Context & context_);
BlockIO execute() override;
private:
ASTPtr query_ptr;
Context context;
};
}