mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Cleanup for the fix of bug 18206.
This commit is contained in:
@ -543,10 +543,6 @@ static bool matching_cond(bool max_fl, TABLE_REF *ref, KEY *keyinfo,
|
|||||||
break; // Found a part od the key for the field
|
break; // Found a part od the key for the field
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (part->length != (((Item_field*) args[0])->field)->field_length)
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
bool is_field_part= part == field_part;
|
bool is_field_part= part == field_part;
|
||||||
if (!(is_field_part || eq_type))
|
if (!(is_field_part || eq_type))
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user