mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix "odbc-bridge" test
This commit is contained in:
parent
8b1e504b19
commit
58a4d29f40
@ -223,14 +223,7 @@ namespace cctz_extension
|
||||
if (sym_data && sym_size)
|
||||
return std::make_unique<Source>(static_cast<const char *>(sym_data), unalignedLoad<size_t>(&sym_size));
|
||||
|
||||
#if defined(NDEBUG) || !defined(USE_INTERNAL_CCTZ)
|
||||
return fallback(name);
|
||||
#else
|
||||
/// In debug builds with internal cctz,
|
||||
/// ensure that only embedded timezones can be loaded - this is intended for tests.
|
||||
(void)fallback;
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user