Fixed bug when using a key on a CHAR(255) NULL column

Docs/manual.texi:
  New links
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
This commit is contained in:
unknown 2001-04-12 00:56:55 +03:00
commit e9d687674b
5 changed files with 29 additions and 3 deletions

View file

@ -879,7 +879,10 @@ uint _mi_get_pack_key(register MI_KEYDEF *keyinfo, uint nod_flag,
continue;
}
if (keyseg->flag & HA_NULL_PART)
{
key++; /* Skipp null marker*/
start++;
}
get_key_length(rest_length,page);
tot_length=rest_length+length;