Commit db8ab4ac authored by Monty's avatar Monty

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.
parent e51d55a6
...@@ -5932,7 +5932,9 @@ WHERE SLEEP(0.1) OR c < 'p' OR b = ( SELECT MIN(b) FROM t2 ); ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment