summaryrefslogtreecommitdiff
path: root/include/heap.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-01-25 14:25:48 +0100
committerSergei Golubchik <serg@mariadb.org>2018-02-11 18:36:54 +0100
commit7c6cf7fefe68a1a3f68e7d6436da4689ec302bca (patch)
tree86754b8b68a03cb6569d675944919452f6142c05 /include/heap.h
parent7a63ffab71644118223aefe66094366a7b7f115e (diff)
downloadmariadb-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.h1
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 */