1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Don't write rows in MyISAM tables when using count(distinct)

Don't read MyISAM header when running without locking
This commit is contained in:
monty@tik.mysql.fi
2001-05-23 02:40:46 +03:00
parent a3be64bfa5
commit 8685094e15
13 changed files with 87 additions and 39 deletions

View File

@@ -181,7 +181,7 @@ void TEST_join(JOIN *join);
bool store_val_in_field(Field *field,Item *val);
TABLE *create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
ORDER *group, bool distinct, bool save_sum_fields,
bool allow_distinct_limit, uint select_options);
bool allow_distinct_limit, ulong select_options);
void free_tmp_table(THD *thd, TABLE *entry);
void count_field_types(TMP_TABLE_PARAM *param, List<Item> &fields,
bool reset_with_sum_func);