mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
70d00abe4f
This tries to fix the failing gcc-9 unbundled build: https://clickhouse-builds.s3.yandex.net/13880/e437d85b927a47da69b8bdc4dde95917c2261cbe/clickhouse_build_check/build_log_753740668_1598037713.txt
30 lines
819 B
C++
30 lines
819 B
C++
#pragma once
|
|
|
|
#include <Storages/System/IStorageSystemOneBlock.h>
|
|
#include <ext/shared_ptr_helper.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
class Context;
|
|
|
|
|
|
/** System table "time_zones" with list of timezones pulled from /contrib/cctz/testdata/zoneinfo
|
|
*/
|
|
class StorageSystemTimeZones final : public ext::shared_ptr_helper<StorageSystemTimeZones>,
|
|
public IStorageSystemOneBlock<StorageSystemTimeZones>
|
|
{
|
|
friend struct ext::shared_ptr_helper<StorageSystemTimeZones>;
|
|
|
|
protected:
|
|
void fillData(MutableColumns & res_columns, const Context & context, const SelectQueryInfo & query_info) const override;
|
|
|
|
using IStorageSystemOneBlock::IStorageSystemOneBlock;
|
|
|
|
public:
|
|
std::string getName() const override { return "SystemTimeZones"; }
|
|
|
|
static NamesAndTypesList getNamesAndTypes();
|
|
};
|
|
}
|