Commit cc3f13fc authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2811], fix records_in_range

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@23524 c7de825b-a66e-492c-adef-691d508d4ae1
parent 01a85de7
......@@ -6179,7 +6179,8 @@ ha_rows ha_tokudb::records_in_range(uint keynr, key_range* start_key, key_range*
ret_val = HA_TOKUDB_RANGE_COUNT;
goto cleanup;
}
start_rows = 0;
ret_val = (end_rows <= 1) ? 1 : end_rows;
goto cleanup;
}
if (start_key) {
inf_byte = (start_key->flag == HA_READ_KEY_EXACT) ?
......
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