revision-id: 985f85d0c9a1da497489e6cd0d53edb02c64ebbe (mariadb-10.3.6-111-g985f85d) parent(s): 9fe1e83df0be36b6b3bea4ff67cc513f73e94c6e author: Igor Babaev committer: Igor Babaev timestamp: 2019-02-08 22:26:42 -0800 message: MDEV-16188 Post merge fixes: trying to get rid of Windows warnings. --- .../suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff | 9 --------- sql/rowid_filter.h | 2 +- sql/sql_explain.cc | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/mysql-test/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff b/mysql-test/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff index d57c342..cb9e84b 100644 --- a/mysql-test/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff +++ b/mysql-test/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff @@ -507,15 +507,6 @@ VARIABLE_COMMENT Maximum stored procedure recursion depth NUMERIC_MIN_VALUE 0 NUMERIC_MAX_VALUE 255 -@@ -2485,7 +2485,7 @@ - VARIABLE_TYPE BIGINT UNSIGNED - VARIABLE_COMMENT The maximum size of the container of a rowid filter - NUMERIC_MIN_VALUE 1024 --NUMERIC_MAX_VALUE 18446744073709551615 -+NUMERIC_MAX_VALUE 4294967295 - NUMERIC_BLOCK_SIZE 1 - ENUM_VALUE_LIST NULL - READ_ONLY NO @@ -2494,7 +2494,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME DEFAULT_VALUE 32 diff --git a/sql/rowid_filter.h b/sql/rowid_filter.h index ddeb13a..627a427 100644 --- a/sql/rowid_filter.h +++ b/sql/rowid_filter.h @@ -138,7 +138,7 @@ */ -class TABLE; +struct TABLE; class SQL_SELECT; class Rowid_filter_container; class Range_rowid_filter_cost_info; diff --git a/sql/sql_explain.cc b/sql/sql_explain.cc index d5575dd..a53b357 100644 --- a/sql/sql_explain.cc +++ b/sql/sql_explain.cc @@ -1639,7 +1639,7 @@ void Explain_rowid_filter::print_explain_json(Explain_query *query, writer->add_member("r_selectivity_pct"). add_double(tracker->get_r_selectivity_pct() * 100.0); writer->add_member("r_buffer_size"). - add_double(tracker->get_container_buff_size()); + add_double((double) (tracker->get_container_buff_size())); writer->add_member("r_filling_time_ms"). add_double(tracker->get_time_fill_container_ms()); }