diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-25 14:25:48 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-02-11 18:36:54 +0100 |
commit | 7c6cf7fefe68a1a3f68e7d6436da4689ec302bca (patch) | |
tree | 86754b8b68a03cb6569d675944919452f6142c05 /include/heap.h | |
parent | 7a63ffab71644118223aefe66094366a7b7f115e (diff) | |
download | mariadb-git-7c6cf7fefe68a1a3f68e7d6436da4689ec302bca.tar.gz |
bug: ha_heap was unilaterally increasing reclength
proper fix replacing the hack from b80fa4000d6
don't confuse length of the data area (reclength) with the
offset to the "deleted" mark.
Diffstat (limited to 'include/heap.h')
-rw-r--r-- | include/heap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/heap.h b/include/heap.h index 2b7fd28699d..eecb7084e66 100644 --- a/include/heap.h +++ b/include/heap.h @@ -144,6 +144,7 @@ typedef struct st_heap_share uint key_version; /* Updated on key change */ uint file_version; /* Update on clear */ uint reclength; /* Length of one record */ + uint visible; /* Offset to the visible/deleted mark */ uint changed; uint keys,max_key_length; uint currently_disabled_keys; /* saved value from "keys" when disabled */ |