mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 10:40:49 +00:00
Fix arm build
This commit is contained in:
parent
b1b46e6dee
commit
18ade1708c
@ -186,7 +186,10 @@ QueryProfilerBase<ProfilerImpl>::QueryProfilerBase(const Int32 thread_id, const
|
||||
throw;
|
||||
}
|
||||
#else
|
||||
UNUSED(thread_id, clock_type, period, pause_signal);
|
||||
UNUSED(thread_id);
|
||||
UNUSED(clock_type);
|
||||
UNUSED(period);
|
||||
UNUSED(pause_signal);
|
||||
throw Exception("QueryProfiler cannot work with stock libunwind", ErrorCodes::NOT_IMPLEMENTED);
|
||||
#endif
|
||||
}
|
||||
|
@ -31,6 +31,8 @@ std::string signalToErrorMessage(int sig, const siginfo_t & info, const ucontext
|
||||
error << " Access: write.";
|
||||
else
|
||||
error << " Access: read.";
|
||||
#else
|
||||
UNUSED(context);
|
||||
#endif
|
||||
|
||||
switch (info.si_code)
|
||||
|
Loading…
Reference in New Issue
Block a user