mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
typo fixed
This commit is contained in:
@@ -2626,11 +2626,7 @@ add_key_field(KEY_FIELD **key_fields, uint and_level, COND *cond,
|
|||||||
|
|
||||||
bool is_const=1;
|
bool is_const=1;
|
||||||
for (uint i=0; i<num_values; i++)
|
for (uint i=0; i<num_values; i++)
|
||||||
/*
|
|
||||||
TODO: This looks like a bug. It should be
|
|
||||||
is_const&= (value[i])->const_item();
|
is_const&= (value[i])->const_item();
|
||||||
*/
|
|
||||||
is_const&= (*value)->const_item();
|
|
||||||
if (is_const)
|
if (is_const)
|
||||||
stat[0].const_keys.merge(possible_keys);
|
stat[0].const_keys.merge(possible_keys);
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user