Commit e7d6da74 authored by unknown's avatar unknown

Bug#14400 - Query joins wrong rows from table which is subject of

            "concurrent insert"
After merge fix.
parent 48b2d415
...@@ -86,6 +86,7 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len, ...@@ -86,6 +86,7 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
if (info->lastpos >= info->state->data_file_length && if (info->lastpos >= info->state->data_file_length &&
(search_flag != HA_READ_KEY_EXACT || (search_flag != HA_READ_KEY_EXACT ||
last_used_keyseg != keyinfo->seg + keyinfo->keysegs)) last_used_keyseg != keyinfo->seg + keyinfo->keysegs))
{
do do
{ {
uint not_used; uint not_used;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment