mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
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:
parent
f21a521981
commit
e9d687674b
5 changed files with 29 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue