Skip to content

Commit dcb780d

Browse files
authored
MDEV-27808 Spider: remove #ifdef SPIDER_LIKE_FUNC_HAS_GET_NEGATED
Reviewed by: Nayuta Yanagisawa
1 parent 970aa41 commit dcb780d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

storage/spider/spd_db_mysql.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6551,7 +6551,6 @@ int spider_db_mbase_util::open_item_func(
65516551
}
65526552
break;
65536553
case Item_func::LIKE_FUNC:
6554-
#ifdef SPIDER_LIKE_FUNC_HAS_GET_NEGATED
65556554
if (str)
65566555
{
65576556
if (((Item_func_like *)item_func)->get_negated())
@@ -6567,9 +6566,6 @@ int spider_db_mbase_util::open_item_func(
65676566
}
65686567
}
65696568
break;
6570-
#else
6571-
DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
6572-
#endif
65736569
case Item_func::CASE_SEARCHED_FUNC:
65746570
case Item_func::CASE_SIMPLE_FUNC:
65756571
#ifdef ITEM_FUNC_CASE_PARAMS_ARE_PUBLIC

storage/spider/spd_environ.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@
2727
#define HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
2828
#define SPIDER_UPDATE_ROW_HAS_CONST_NEW_DATA
2929
#define SPIDER_MDEV_16246
30-
#define SPIDER_LIKE_FUNC_HAS_GET_NEGATED
3130
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN
3231
#endif /* SPD_ENVIRON_INCLUDED */

0 commit comments

Comments
 (0)