summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2006-09-15 14:02:43 +0200
committerunknown <istruewing@chilla.local>2006-09-15 14:02:43 +0200
commitab7d1d70a4db399ed69b73c523b14483fa786bdf (patch)
treeb7fa2ea82c1316487f668c705c00f1d7b89fcd78 /myisam
parent562763f160d70abb0261aa167074e87f3652fd25 (diff)
parentaddff97f31bcf599f959d0647f69166162740bb0 (diff)
downloadmariadb-git-ab7d1d70a4db399ed69b73c523b14483fa786bdf.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines
into chilla.local:/home/mydev/mysql-4.1-bug14400 myisam/mi_rkey.c: Auto merged
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_rkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_rkey.c b/myisam/mi_rkey.c
index b3609e75e11..17f06437cd0 100644
--- a/myisam/mi_rkey.c
+++ b/myisam/mi_rkey.c
@@ -103,7 +103,7 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
{
do
{
- uint not_used;
+ uint not_used[2];
/*
Skip rows that are inserted by other threads since we got a lock
Note that this can only happen if we are not searching after an
@@ -122,7 +122,7 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
*/
if (search_flag == HA_READ_KEY_EXACT &&
ha_key_cmp(keyinfo->seg, key_buff, info->lastkey, use_key_length,
- SEARCH_FIND, &not_used))
+ SEARCH_FIND, not_used))
{
my_errno= HA_ERR_KEY_NOT_FOUND;
info->lastpos= HA_OFFSET_ERROR;