diff options
author | monty@hundin.mysql.fi <> | 2002-01-16 00:42:52 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-01-16 00:42:52 +0200 |
commit | 4d10a0cb7eac04d7134537df139c87023453111d (patch) | |
tree | 890cb295feeab3ebd6413663178be56ec5ed21a2 /heap/hp_open.c | |
parent | 7dd4eb71fe7576e428fe1ecaaad214d3a39ff4dc (diff) | |
download | mariadb-git-4d10a0cb7eac04d7134537df139c87023453111d.tar.gz |
Add support for NULL=NULL in keys (Used in GROUP BY optimization)
Add ISAM to Windows version
Fix of test results
Fixes for NULL keys in HEAP tables.
Diffstat (limited to 'heap/hp_open.c')
-rw-r--r-- | heap/hp_open.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heap/hp_open.c b/heap/hp_open.c index 69e02945253..938ab8c4f78 100644 --- a/heap/hp_open.c +++ b/heap/hp_open.c @@ -46,7 +46,8 @@ HP_INFO *heap_open(const char *name, int mode, uint keys, HP_KEYDEF *keydef, for (j=length=0 ; j < keydef[i].keysegs; j++) { length+=keydef[i].seg[j].length; - if (keydef[i].seg[j].null_bit) + if (keydef[i].seg[j].null_bit && + !(keydef[i].flag & HA_NULL_ARE_EQUAL)) keydef[i].flag |= HA_NULL_PART_KEY; } keydef[i].length=length; |