Commit dcb780d2 authored by Yusuke Abe's avatar Yusuke Abe Committed by GitHub

MDEV-27808 Spider: remove #ifdef SPIDER_LIKE_FUNC_HAS_GET_NEGATED

Reviewed by: Nayuta Yanagisawa
parent 970aa411
......@@ -6551,7 +6551,6 @@ int spider_db_mbase_util::open_item_func(
}
break;
case Item_func::LIKE_FUNC:
#ifdef SPIDER_LIKE_FUNC_HAS_GET_NEGATED
if (str)
{
if (((Item_func_like *)item_func)->get_negated())
......@@ -6567,9 +6566,6 @@ int spider_db_mbase_util::open_item_func(
}
}
break;
#else
DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
#endif
case Item_func::CASE_SEARCHED_FUNC:
case Item_func::CASE_SIMPLE_FUNC:
#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC
......
......@@ -27,6 +27,5 @@
#define HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
#define SPIDER_UPDATE_ROW_HAS_CONST_NEW_DATA
#define SPIDER_MDEV_16246
#define SPIDER_LIKE_FUNC_HAS_GET_NEGATED
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN
#endif /* SPD_ENVIRON_INCLUDED */
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