Commit 822f9c0e authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #6195, undo change, needs tweaking

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54130 c7de825b-a66e-492c-adef-691d508d4ae1
parent df5cc271
...@@ -5071,7 +5071,8 @@ int ha_tokudb::fill_range_query_buf( ...@@ -5071,7 +5071,8 @@ int ha_tokudb::fill_range_query_buf(
// we tell the cursor to continue and don't store // we tell the cursor to continue and don't store
// the key locally // the key locally
else if (result == ICP_NO_MATCH) { else if (result == ICP_NO_MATCH) {
goto check_bounds; error = TOKUDB_CURSOR_CONTINUE;
goto cleanup;
} }
} }
#endif #endif
...@@ -5224,7 +5225,6 @@ int ha_tokudb::fill_range_query_buf( ...@@ -5224,7 +5225,6 @@ int ha_tokudb::fill_range_query_buf(
error = 0; error = 0;
goto cleanup; goto cleanup;
} }
check_bounds:
if (direction > 0) { if (direction > 0) {
// compare what we got to the right endpoint of prelocked range // compare what we got to the right endpoint of prelocked range
// because we are searching keys in ascending order // because we are searching keys in ascending order
......
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