refs #6195, undo change, needs tweaking

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54130 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:02:18 -04:00 committed by Yoni Fogel
parent df5cc2716c
commit 822f9c0ed3

View file

@ -5071,7 +5071,8 @@ int ha_tokudb::fill_range_query_buf(
// we tell the cursor to continue and don't store
// the key locally
else if (result == ICP_NO_MATCH) {
goto check_bounds;
error = TOKUDB_CURSOR_CONTINUE;
goto cleanup;
}
}
#endif
@ -5224,7 +5225,6 @@ int ha_tokudb::fill_range_query_buf(
error = 0;
goto cleanup;
}
check_bounds:
if (direction > 0) {
// compare what we got to the right endpoint of prelocked range
// because we are searching keys in ascending order