Fix "odbc-bridge" test

This commit is contained in:
Alexey Milovidov 2020-04-25 23:52:45 +03:00
parent 8b1e504b19
commit 58a4d29f40

View File

@ -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
}
}