diff options
author | vvvv <vvvv@ydb.tech> | 2022-08-16 16:00:14 +0300 |
---|---|---|
committer | vvvv <vvvv@ydb.tech> | 2022-08-16 16:00:14 +0300 |
commit | 638e3dbeb0c9e8e10859ae61b5a62fd924b9fe6d (patch) | |
tree | 065f1a5899525922e2f48b001da9ae800aebd8ec | |
parent | 06b975b3c419a04e6fc58fedcb226fa080071c73 (diff) | |
download | ydb-638e3dbeb0c9e8e10859ae61b5a62fd924b9fe6d.tar.gz |
fix darwin build
-rw-r--r-- | ydb/library/yql/udfs/common/clickhouse/client/base/common/DateLUTImpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/base/common/DateLUTImpl.cpp b/ydb/library/yql/udfs/common/clickhouse/client/base/common/DateLUTImpl.cpp index 472f24f3805..423f18d0961 100644 --- a/ydb/library/yql/udfs/common/clickhouse/client/base/common/DateLUTImpl.cpp +++ b/ydb/library/yql/udfs/common/clickhouse/client/base/common/DateLUTImpl.cpp @@ -36,15 +36,15 @@ UInt8 getDayOfWeek(const cctz::civil_day & date) } -__attribute__((__weak__)) extern bool inside_main; +//__attribute__((__weak__)) extern bool inside_main; DateLUTImpl::DateLUTImpl(const std::string & time_zone_) : time_zone(time_zone_) { /// DateLUT should not be initialized in global constructors for the following reasons: /// 1. It is too heavy. - if (&inside_main) - assert(inside_main); + //if (&inside_main) + // assert(inside_main); cctz::time_zone cctz_time_zone; if (!cctz::load_time_zone(time_zone, &cctz_time_zone)) |