mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Make tests pass
- Fix bad tests in statistics_json test: make them meaningful and make them work on windows - Fix analyze_debug.test: correctly handle errors during ANALYZE
This commit is contained in:
@ -85,10 +85,8 @@ ANALYZE TABLE Country, City, CountryLanguage persistent for all;
|
||||
--enable_result_log
|
||||
|
||||
SELECT column_name, min_value, max_value, hist_size, hist_type, histogram FROM mysql.column_stats;
|
||||
explain extended select * from Country where 'Code' between 'BBC' and 'GGG';
|
||||
analyze select * from Country where 'Code' between 'BBC' and 'GGG';
|
||||
explain extended select * from Country where 'Code' < 'BBC';
|
||||
analyze select * from Country where 'Code' < 'BBC';
|
||||
analyze select * from Country use index () where Code between 'BBC' and 'GGG';
|
||||
analyze select * from Country use index () where Code < 'BBC';
|
||||
|
||||
set histogram_type=@save_histogram_type;
|
||||
set histogram_size=@save_histogram_size;
|
||||
|
Reference in New Issue
Block a user