mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merge chilla.local:/home/mydev/mysql-5.0-bug14400
into chilla.local:/home/mydev/mysql-5.1-bug14400
This commit is contained in:
commit
5e7db2ad06
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,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
|
||||
|
@ -123,7 +123,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, ¬_used))
|
||||
SEARCH_FIND, not_used))
|
||||
{
|
||||
my_errno= HA_ERR_KEY_NOT_FOUND;
|
||||
info->lastpos= HA_OFFSET_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue