mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Collect addresses in stack traces
This commit is contained in:
parent
13adae0e42
commit
c1aa49122f
@ -453,10 +453,10 @@ LIMIT 10
|
||||
SELECT_STACK_TRACES = r"""SELECT
|
||||
'\n' || arrayStringConcat(
|
||||
arrayMap(
|
||||
x,
|
||||
y -> concat(x, ': ', y),
|
||||
x, y, z -> concat(x, ': ', y, ' @ ', z),
|
||||
arrayMap(x -> addressToLine(x), trace),
|
||||
arrayMap(x -> demangle(addressToSymbol(x)), trace)),
|
||||
arrayMap(x -> demangle(addressToSymbol(x)), trace),
|
||||
arrayMap(x -> '0x' || hex(x), trace)),
|
||||
'\n') AS trace
|
||||
FROM system.stack_trace
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user