1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge branch '10.3' into 10.4

This commit is contained in:
Oleksandr Byelkin
2022-01-30 09:46:52 +01:00
440 changed files with 7883 additions and 3481 deletions

View File

@ -9822,16 +9822,8 @@ bool Field_num::is_equal(const Column_definition &new_field) const
}
bool Field_enum::can_optimize_range(const Item_bool_func *cond,
const Item *item,
bool is_eq_func) const
{
return item->cmp_type() != TIME_RESULT;
}
bool Field_enum::can_optimize_keypart_ref(const Item_bool_func *cond,
const Item *item) const
bool Field_enum::can_optimize_range_or_keypart_ref(const Item_bool_func *cond,
const Item *item) const
{
switch (item->cmp_type())
{