Commit e8a5553c authored by Yuchen Pei's avatar Yuchen Pei

MDEV-27808 remove SPIDER_LIKE_FUNC_HAS_GET_NEGATED

get_negated() was introduced in MDEV-16707
parent ab49b46d
...@@ -4094,7 +4094,6 @@ int spider_db_oracle_util::open_item_func( ...@@ -4094,7 +4094,6 @@ int spider_db_oracle_util::open_item_func(
} }
break; break;
case Item_func::LIKE_FUNC: case Item_func::LIKE_FUNC:
#ifdef SPIDER_LIKE_FUNC_HAS_GET_NEGATED
if (str) if (str)
{ {
if (((Item_func_like *)item_func)->get_negated()) if (((Item_func_like *)item_func)->get_negated())
...@@ -4109,9 +4108,6 @@ int spider_db_oracle_util::open_item_func( ...@@ -4109,9 +4108,6 @@ int spider_db_oracle_util::open_item_func(
} }
} }
break; break;
#else
DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
#endif
default: default:
THD *thd = spider->wide_handler->trx->thd; THD *thd = spider->wide_handler->trx->thd;
SPIDER_SHARE *share = spider->share; SPIDER_SHARE *share = spider->share;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#define HANDLER_HAS_DIRECT_AGGREGATE #define HANDLER_HAS_DIRECT_AGGREGATE
#define SPIDER_LIKE_FUNC_HAS_GET_NEGATED
#define HA_HAS_CHECKSUM_EXTENDED #define HA_HAS_CHECKSUM_EXTENDED
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN #define SPIDER_I_S_USE_SHOW_FOR_COLUMN
......
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