Commit d52a41d2 authored by Michael Widenius's avatar Michael Widenius

Merge with 5.1

parents 108e9ee8 3c0a37fd
...@@ -4523,11 +4523,11 @@ int handler::index_read_idx_map(uchar * buf, uint index, const uchar * key, ...@@ -4523,11 +4523,11 @@ int handler::index_read_idx_map(uchar * buf, uint index, const uchar * key,
int error, error1; int error, error1;
LINT_INIT(error1); LINT_INIT(error1);
error= index_init(index, 0); error= ha_index_init(index, 0);
if (!error) if (!error)
{ {
error= index_read_map(buf, key, keypart_map, find_flag); error= index_read_map(buf, key, keypart_map, find_flag);
error1= index_end(); error1= ha_index_end();
} }
return error ? error : error1; return error ? error : error1;
} }
......
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