summaryrefslogtreecommitdiff
path: root/heap/hp_rkey.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-12-24 15:19:00 +0200
committermonty@donna.mysql.com <>2000-12-24 15:19:00 +0200
commitb590fa2567f3a4c1f0055618fb4d06e1af7ae85b (patch)
tree899e99579647137316d4fbc999750fb989b1cf2e /heap/hp_rkey.c
parent11f7fd10f080461e34114869daf853ba714ff03c (diff)
downloadmariadb-git-b590fa2567f3a4c1f0055618fb4d06e1af7ae85b.tar.gz
New benchmark test
Fixed bug in REPLACE with BDB tables Prepare for write lock on read for BDB Inform the handler when we want to use IGNORE / REPLACE New manual pages
Diffstat (limited to 'heap/hp_rkey.c')
-rw-r--r--heap/hp_rkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_rkey.c b/heap/hp_rkey.c
index 872560b1a91..157267f7149 100644
--- a/heap/hp_rkey.c
+++ b/heap/hp_rkey.c
@@ -37,7 +37,7 @@ int heap_rkey(HP_INFO *info, byte *record, int inx, const byte *key)
}
memcpy(record,pos,(size_t) share->reclength);
info->update=HA_STATE_AKTIV;
- if (!(share->keydef->flag & HA_NOSAME))
+ if (!(share->keydef[inx].flag & HA_NOSAME))
memcpy(info->lastkey,key,(size_t) share->keydef[inx].length);
DBUG_RETURN(0);
}