From 7dd4eb71fe7576e428fe1ecaaad214d3a39ff4dc Mon Sep 17 00:00:00 2001 From: "monty@tik.mysql.fi" <> Date: Sat, 12 Jan 2002 15:42:54 +0200 Subject: Added support of null keys in HEAP tables Added ORDER BY optimization --- include/heap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/heap.h') diff --git a/include/heap.h b/include/heap.h index 9efb873ec93..02b04e2b3ec 100644 --- a/include/heap.h +++ b/include/heap.h @@ -78,11 +78,13 @@ typedef struct st_hp_keyseg /* Key-portion */ uint start; /* Start of key in record (from 0) */ uint length; /* Keylength */ uint type; + uint null_bit; /* bit set in row+null_pos */ + uint null_pos; } HP_KEYSEG; typedef struct st_hp_keydef /* Key definition with open */ { - uint flag; /* NOSAME */ + uint flag; /* HA_NOSAME | HA_NULL_PART_KEY */ uint keysegs; /* Number of key-segment */ uint length; /* Length of key (automatic) */ HP_KEYSEG *seg; -- cgit v1.2.1