MDEV-36461, followup: fix opt_trace.test for --view-protocol

This commit is contained in:
Sergei Petrunia 2025-06-09 21:54:32 +03:00
parent cce76e7225
commit 5a6732983d
2 changed files with 3 additions and 3 deletions

View File

@ -11069,9 +11069,9 @@ SUBQ a
985 1
985 2
# The trace must be empty:
select json_detailed(json_extract(trace, '$**.range-checked-for-each-record'))
select json_detailed(json_extract(trace, '$**.range-checked-for-each-record')) as TRACE
from information_schema.optimizer_trace;
json_detailed(json_extract(trace, '$**.range-checked-for-each-record'))
TRACE
NULL
# The trace must be empty:
select json_detailed(json_extract(trace, '$**.join_execution'))

View File

@ -1242,7 +1242,7 @@ select
from t3;
--echo # The trace must be empty:
select json_detailed(json_extract(trace, '$**.range-checked-for-each-record'))
select json_detailed(json_extract(trace, '$**.range-checked-for-each-record')) as TRACE
from information_schema.optimizer_trace;
--echo # The trace must be empty:
select json_detailed(json_extract(trace, '$**.join_execution'))