Skip to content

Commit 0aadb58

Browse files
authored
MDEV-27811 Spider: remove #ifdef SPIDER_MDEV_16246
Reviewed by: Nayuta Yanagisawa
1 parent d371e35 commit 0aadb58

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

storage/spider/ha_spider.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8173,7 +8173,6 @@ bool ha_spider::check_direct_update_sql_part(
81738173
DBUG_RETURN(FALSE);
81748174
}
81758175

8176-
#ifdef SPIDER_MDEV_16246
81778176
/**
81788177
Perform initialization for a direct update request.
81798178
@@ -8186,9 +8185,6 @@ bool ha_spider::check_direct_update_sql_part(
81868185
int ha_spider::direct_update_rows_init(
81878186
List<Item> *update_fields
81888187
)
8189-
#else
8190-
int ha_spider::direct_update_rows_init()
8191-
#endif
81928188
{
81938189
st_select_lex *select_lex;
81948190
longlong select_limit;

storage/spider/ha_spider.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,9 @@ class ha_spider final : public handler
422422
longlong select_limit,
423423
longlong offset_limit
424424
);
425-
#ifdef SPIDER_MDEV_16246
426425
int direct_update_rows_init(
427426
List<Item> *update_fields
428427
);
429-
#else
430-
int direct_update_rows_init();
431-
#endif
432428
int direct_update_rows(
433429
ha_rows *update_rows,
434430
ha_rows *found_row

storage/spider/spd_environ.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@
2626
#define HA_EXTRA_HAS_STARTING_ORDERED_INDEX_SCAN
2727
#define HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
2828
#define SPIDER_UPDATE_ROW_HAS_CONST_NEW_DATA
29-
#define SPIDER_MDEV_16246
3029
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN
3130
#endif /* SPD_ENVIRON_INCLUDED */

0 commit comments

Comments
 (0)