diff options
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; |