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:
12
sql/field.cc
12
sql/field.cc
@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user