mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Bug#31331 - MyISAM or Merge Table upgrade incompatibility with 5.1
Post-pushbuild fixes. Added purecov comments.
This commit is contained in:
parent
364a70ef09
commit
17a10cb40e
1 changed files with 2 additions and 2 deletions
|
@ -410,10 +410,10 @@ int check_definition(MI_KEYDEF *t1_keyinfo, MI_COLUMNDEF *t1_recinfo,
|
||||||
{
|
{
|
||||||
if ((t1_keysegs_j__type == HA_KEYTYPE_VARTEXT2) &&
|
if ((t1_keysegs_j__type == HA_KEYTYPE_VARTEXT2) &&
|
||||||
(t2_keysegs[j].type == HA_KEYTYPE_VARTEXT1))
|
(t2_keysegs[j].type == HA_KEYTYPE_VARTEXT1))
|
||||||
t1_keysegs_j__type= HA_KEYTYPE_VARTEXT1;
|
t1_keysegs_j__type= HA_KEYTYPE_VARTEXT1; /* purecov: tested */
|
||||||
else if ((t1_keysegs_j__type == HA_KEYTYPE_VARBINARY2) &&
|
else if ((t1_keysegs_j__type == HA_KEYTYPE_VARBINARY2) &&
|
||||||
(t2_keysegs[j].type == HA_KEYTYPE_VARBINARY1))
|
(t2_keysegs[j].type == HA_KEYTYPE_VARBINARY1))
|
||||||
t1_keysegs_j__type= HA_KEYTYPE_VARBINARY1;
|
t1_keysegs_j__type= HA_KEYTYPE_VARBINARY1; /* purecov: inspected */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t1_keysegs_j__type != t2_keysegs[j].type ||
|
if (t1_keysegs_j__type != t2_keysegs[j].type ||
|
||||||
|
|
Loading…
Reference in a new issue