Fixed a valgrind complain on usage of an uninitialized value.
It popped up because the latest fix to handle properly null ranges was not complete.
This commit is contained in:
parent
e370530493
commit
c9208300b4
@ -3386,7 +3386,7 @@ double get_column_range_cardinality(Field *field,
|
||||
{
|
||||
double sel, min_mp_pos, max_mp_pos;
|
||||
|
||||
if (min_endp)
|
||||
if (min_endp && !min_endp->key[0])
|
||||
{
|
||||
store_key_image_to_rec(field, (uchar *) min_endp->key,
|
||||
min_endp->length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user