summaryrefslogtreecommitdiff
path: root/include/heap.h
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2002-01-12 15:42:54 +0200
committermonty@tik.mysql.fi <>2002-01-12 15:42:54 +0200
commit7dd4eb71fe7576e428fe1ecaaad214d3a39ff4dc (patch)
tree5c9b603230485a57877f3b066d095b6668bd1d2e /include/heap.h
parent47408baac6f53cd32ff45c83b09fb56a9084bd5b (diff)
downloadmariadb-git-7dd4eb71fe7576e428fe1ecaaad214d3a39ff4dc.tar.gz
Added support of null keys in HEAP tables
Added ORDER BY optimization
Diffstat (limited to 'include/heap.h')
-rw-r--r--include/heap.h4
1 files changed, 3 insertions, 1 deletions
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;