Sort result from table_statistics and index_statistics

This is needed as the order of rows are not deterministic,
especially in future versions of table statistics.
This commit is contained in:
Monty 2024-08-19 11:14:11 +03:00
parent e51d55a63f
commit db8ab4aca2

View File

@ -5932,7 +5932,9 @@ WHERE SLEEP(0.1) OR c < 'p' OR b = ( SELECT MIN(b) FROM t2 );
--enable_ps2_protocol
--echo # The following shows that t2 was indeed scanned with a full scan.
--sorted_result
show table_statistics;
--sorted_result
show index_statistics;
set global userstat=@tmp_mdev410;