mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
17a4ead1ef
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770]. * Added setting 'fsync_metadata' [#CLICKHOUSE-2770]. * Added setting 'fsync_metadata' [#CLICKHOUSE-2770]. * Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
27 lines
382 B
C++
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;
|
|
};
|
|
|
|
|
|
}
|