diff options
author | unknown <monty@donna.mysql.fi> | 2001-04-12 00:56:55 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-04-12 00:56:55 +0300 |
commit | 0ac22353d3b7dee864863c35c2341ca9b2dfd1b1 (patch) | |
tree | 6c583b8f4ba4f86967938ecdf9bcf9eb52e5aba2 /myisam/mi_search.c | |
parent | cee1f7d29ead6cc213bc2607fde27f8069461f0f (diff) | |
download | mariadb-git-0ac22353d3b7dee864863c35c2341ca9b2dfd1b1.tar.gz |
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
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r-- | myisam/mi_search.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c index 7888e73b235..4dc5a5099d5 100644 --- a/myisam/mi_search.c +++ b/myisam/mi_search.c @@ -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; |