1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixed the bug that caused displaying incorrect values in

the column cardinality of the table information_schema.statistics.
This commit is contained in:
Igor Babaev
2012-05-17 16:54:26 -07:00
parent 2a1afc29f2
commit 9b79feba56
5 changed files with 92 additions and 2 deletions

View File

@@ -14102,6 +14102,7 @@ create_tmp_table(THD *thd, TMP_TABLE_PARAM *param, List<Item> &fields,
table->intersect_keys.init();
table->keys_in_use_for_query.init();
table->no_rows_with_nulls= param->force_not_null_cols;
table->read_stat.cardinality_is_null= TRUE;
table->s= share;
init_tmp_table_share(thd, share, "", 0, tmpname, tmpname);