mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Allow to use library dictionary source with ASan. May impose troubles.
This commit is contained in:
parent
75aa1d7858
commit
09ecd865fc
@ -1,5 +1,6 @@
|
||||
#include "LibraryDictionarySource.h"
|
||||
#include <DataStreams/OneBlockInputStream.h>
|
||||
#include <Core/Defines.h>
|
||||
#include <Interpreters/Context.h>
|
||||
#include <Poco/File.h>
|
||||
#include <common/logger_useful.h>
|
||||
@ -134,7 +135,7 @@ LibraryDictionarySource::LibraryDictionarySource(
|
||||
ErrorCodes::FILE_DOESNT_EXIST);
|
||||
description.init(sample_block);
|
||||
library = std::make_shared<SharedLibrary>(path, RTLD_LAZY
|
||||
#if defined(RTLD_DEEPBIND) // Does not exists in freebsd
|
||||
#if defined(RTLD_DEEPBIND) && !defined(ADDRESS_SANITIZER) // Does not exists in FreeBSD. Cannot work with Address Sanitizer.
|
||||
| RTLD_DEEPBIND
|
||||
#endif
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user