mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch 'bb-10.7-all-builders' into bb-10.8-all-builders
This commit is contained in:
@ -607,6 +607,7 @@ set use_stat_tables='preferably';
|
||||
ANALYZE TABLE Country, City, CountryLanguage;
|
||||
--enable_result_log
|
||||
|
||||
--disable_view_protocol
|
||||
--sorted_result
|
||||
SELECT UPPER(db_name), UPPER(table_name), cardinality
|
||||
FROM mysql.table_stats;
|
||||
@ -618,6 +619,7 @@ SELECT UPPER(db_name), UPPER(table_name),
|
||||
SELECT UPPER(db_name), UPPER(table_name),
|
||||
index_name, prefix_arity, avg_frequency
|
||||
FROM mysql.index_stats;
|
||||
--enable_view_protocol
|
||||
|
||||
use test;
|
||||
|
||||
@ -671,10 +673,12 @@ ANALYZE TABLE City;
|
||||
FLUSH TABLES;
|
||||
--enable_result_log
|
||||
|
||||
--disable_view_protocol
|
||||
--source include/histogram_replaces.inc
|
||||
--query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='COUNTRYLANGUAGE' and UPPER(column_name) = 'PERCENTAGE';
|
||||
--source include/histogram_replaces.inc
|
||||
--query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='CITY' and UPPER(column_name) = 'POPULATION';
|
||||
--enable_view_protocol
|
||||
|
||||
set histogram_type=@SINGLE_PREC_TYPE;
|
||||
set histogram_size=0;
|
||||
|
Reference in New Issue
Block a user