mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
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:
@@ -5932,7 +5932,9 @@ WHERE SLEEP(0.1) OR c < 'p' OR b = ( SELECT MIN(b) FROM t2 );
|
|||||||
--enable_ps2_protocol
|
--enable_ps2_protocol
|
||||||
|
|
||||||
--echo # The following shows that t2 was indeed scanned with a full scan.
|
--echo # The following shows that t2 was indeed scanned with a full scan.
|
||||||
|
--sorted_result
|
||||||
show table_statistics;
|
show table_statistics;
|
||||||
|
--sorted_result
|
||||||
show index_statistics;
|
show index_statistics;
|
||||||
set global userstat=@tmp_mdev410;
|
set global userstat=@tmp_mdev410;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user