mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.5' into 10.6
This commit is contained in:
@ -159,6 +159,12 @@ insert into t2 values
|
||||
(1,2,'2019-03-05 00:00:00','2019-03-06 00:00:00'),
|
||||
(2,3,'2019-03-05 00:00:00','2019-03-06 00:00:00'),
|
||||
(3,3,'2019-03-06 00:00:00','2019-03-05 00:00:00');
|
||||
analyze table t1,t2 persistent for all;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
test.t2 analyze status Engine-independent statistics collected
|
||||
test.t2 analyze status OK
|
||||
select
|
||||
t1.id,t2.id
|
||||
from
|
||||
@ -177,6 +183,10 @@ id id
|
||||
2 1
|
||||
3 3
|
||||
create index for_latest_sort on t2 (d1 desc, d2 desc, id desc);
|
||||
analyze table t2 persistent for all;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t2 analyze status Engine-independent statistics collected
|
||||
test.t2 analyze status OK
|
||||
select
|
||||
t1.id,t2.id
|
||||
from
|
||||
|
Reference in New Issue
Block a user