Commit 54295bee authored by Sergei Petrunia's avatar Sergei Petrunia

MariaRocks port: compare_key_icp() is called compare_key2() in MariaDB

parent 8cde1d44
......@@ -9503,8 +9503,10 @@ enum icp_result ha_rocksdb::check_index_cond()
{
DBUG_ASSERT(pushed_idx_cond);
DBUG_ASSERT(pushed_idx_cond_keyno != MAX_KEY);
if (end_range && compare_key_icp(end_range) > 0)
// MARIAROCKS_NOT_YET: MariaRocks todo: switch to using
// handler_index_cond_check() call?
if (end_range && compare_key2(end_range) > 0)
{
/* caller should return HA_ERR_END_OF_FILE already */
return ICP_OUT_OF_RANGE;
......
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