mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Bug #26794: fixed valgrind warning
This commit is contained in:
parent
a0499f3001
commit
5e2e4161d9
1 changed files with 1 additions and 2 deletions
|
@ -5865,8 +5865,7 @@ view_err:
|
|||
checking whether cfield->length < key_part_length (in chars).
|
||||
*/
|
||||
if (!Field::type_can_have_key_part(cfield->field->type()) ||
|
||||
(!Field::type_can_have_key_part(cfield->sql_type) &&
|
||||
!f_is_geom (cfield->pack_flag)) ||
|
||||
!Field::type_can_have_key_part(cfield->sql_type) ||
|
||||
/* spatial keys can't have sub-key length */
|
||||
(key_info->flags & HA_SPATIAL) ||
|
||||
(cfield->field->field_length == key_part_length &&
|
||||
|
|
Loading…
Reference in a new issue