diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-08-25 18:36:59 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-08-26 00:13:15 +0200 |
commit | 4f321289af20427d59aa7c46daa3597122a5eca2 (patch) | |
tree | abd05a119a4ceaec2feb5e170082fc7d31a6eac1 /sql/sql_explain.cc | |
parent | 9db31471641071bcc8f74a6a22b2a3845c830e3d (diff) | |
download | mariadb-git-bb-10.0-release.tar.gz |
fix EXPLAIN outputbb-10.0-release
1. avoid ha_rows->double->ha_rows cast, for ~0ULL it behaves
differently on Linux and Windows. This fixes the differences
in derived_view and mdev13607 results between Linux and Windows.
2. EXPLAIN should show the number of rows as an unsigned number.
Diffstat (limited to 'sql/sql_explain.cc')
-rw-r--r-- | sql/sql_explain.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_explain.cc b/sql/sql_explain.cc index 75f6689ab98..0f4fd7eea82 100644 --- a/sql/sql_explain.cc +++ b/sql/sql_explain.cc @@ -508,7 +508,7 @@ int Explain_table_access::print_explain(select_result_sink *output, uint8 explai /* `rows` */ if (rows_set) { - item_list.push_back(new Item_int((longlong) (ulonglong) rows, + item_list.push_back(new Item_int((ulonglong) rows, MY_INT64_NUM_DECIMAL_DIGITS)); } else |