Fix build

This commit is contained in:
Alexey Milovidov 2020-06-21 13:46:41 +03:00
parent f430893adc
commit ea35829481

View File

@ -296,12 +296,12 @@ static void sanitizerDeathCallback()
if (query_id.size == 0) if (query_id.size == 0)
{ {
LOG_FATAL(log, "(version {}{}) (from thread {}) (no query) Sanitizer trap.", LOG_FATAL(log, "(version {}{}) (from thread {}) (no query) Sanitizer trap.",
VERSION_STRING, VERSION_OFFICIAL, thread_num); VERSION_STRING, VERSION_OFFICIAL, getThreadId());
} }
else else
{ {
LOG_FATAL(log, "(version {}{}) (from thread {}) (query_id: {}) Sanitizer trap.", LOG_FATAL(log, "(version {}{}) (from thread {}) (query_id: {}) Sanitizer trap.",
VERSION_STRING, VERSION_OFFICIAL, thread_num, query_id); VERSION_STRING, VERSION_OFFICIAL, getThreadId(), query_id);
} }
/// Just in case print our own stack trace. In case when llvm-symbolizer does not work. /// Just in case print our own stack trace. In case when llvm-symbolizer does not work.