Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Issue:
------------
In Normal mtr run , json_extract retrieves data from trace.
When run with --replay-server , it doesn't , so mtr test fails with result length mismatch
For mtr output refer : mtr.out
How to repro:
./mtr example.test --record |
./mtr example.test //Test passes
|
./mtr example.test --replay-server //Test Fails |
mtr testcase to repro issue (Say example.test):
--source include/not_embedded.inc
|
--source include/have_sequence.inc
|
create table t (c int, key (c)); |
insert into t select seq from seq_1_to_10000; |
alter table t |
add column vc int as (c + 1), |
add index(vc); |
set @old_optimizer_trace=@@optimizer_trace; |
set optimizer_trace=1; |
 |
## order by |
explain select c + 1 from t order by c + 1; |
select json_extract(trace, '$**.virtual_column_substitution') from information_schema.optimizer_trace; |
drop table t; |
|
Attachments
Issue Links
- relates to
-
MDEV-39368 Add mtr option to test Optimizer Context Replay
-
- Open
-