fixed bug where scan is not closed as it should

parent 294bcf2c
...@@ -2170,6 +2170,9 @@ int ha_ndbcluster::index_read(byte *buf, ...@@ -2170,6 +2170,9 @@ int ha_ndbcluster::index_read(byte *buf,
break; break;
} }
if (m_active_cursor)
close_scan();
key_range start_key; key_range start_key;
start_key.key = key; start_key.key = key;
start_key.length = key_len; start_key.length = key_len;
......
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