(experimental transactions) An EXPLAIN query causes a segfault #63918
Labels
crash
Crash / segfault / abort
experimental feature
Bug in the feature that should not be used in production
Describe what's wrong
Although not documented, an
EXPLAIN CURRENT TRANSACTION
query is possible.Executing the query -
EXPLAIN CURRENT TRANSACTION;
causes a segmentation fault.Query Result:
Does it reproduce on the most recent release?
Yes. Links to fiddles:
head
: https://fiddle.clickhouse.com/9c967181-b72e-4dc0-a90a-cf0a07e77a1324.4.1.2088
: https://fiddle.clickhouse.com/a20160a4-4a49-4b9b-b1c1-053d0d072547How to reproduce
Running
EXPLAIN CURRENT TRANSACTION;
against thehead
version causes the segmentation fault.Expected behavior
Since
EXPLAIN CURRENT TRANSACTION;
is not documented, the server should report its incorrect usage or that it is unsupported, instead of crashing.If it is indeed supported, then either
<no current transaction>
or the description of the current transaction should be returned as the query result.Error message and/or stacktrace
The text was updated successfully, but these errors were encountered: