mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
MDEV-26178 fixup: Delete constants used nowhere
This commit is contained in:
parent
de1bc7a157
commit
7c339a65b8
4 changed files with 1 additions and 16 deletions
storage/spider
|
@ -10190,11 +10190,7 @@ bool ha_spider::check_and_start_bulk_update(
|
|||
*/
|
||||
result_list.bulk_update_size = spider_param_bulk_update_size(thd,
|
||||
share->bulk_update_size);
|
||||
/*
|
||||
#ifndef WITHOUT_SPIDER_BG_SEARCH
|
||||
int bgs_mode = spider_param_bgs_mode(thd, share->bgs_mode);
|
||||
#endif
|
||||
*/
|
||||
|
||||
if (!support_bulk_update_sql())
|
||||
{
|
||||
result_list.bulk_update_mode = 0;
|
||||
|
@ -10202,9 +10198,6 @@ bool ha_spider::check_and_start_bulk_update(
|
|||
result_list.bulk_update_mode));
|
||||
/*
|
||||
} else if (
|
||||
#ifndef WITHOUT_SPIDER_BG_SEARCH
|
||||
bgs_mode ||
|
||||
#endif
|
||||
split_read != 9223372036854775807LL
|
||||
) {
|
||||
result_list.bulk_update_mode = 2;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#define PLUGIN_VAR_CAN_MEMALLOC
|
||||
|
||||
#define SPIDER_HAS_DISCOVER_TABLE_STRUCTURE
|
||||
#define SPIDER_HAS_APPEND_FOR_SINGLE_QUOTE
|
||||
#define SPIDER_HAS_SHOW_SIMPLE_FUNC
|
||||
#define SPIDER_HAS_JT_HASH_INDEX_MERGE
|
||||
|
@ -40,7 +39,6 @@
|
|||
#define SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
|
||||
#define SPIDER_ITEM_STRING_WITHOUT_SET_STR_WITH_COPY
|
||||
#define SPIDER_ITEM_STRING_WITHOUT_SET_STR_WITH_COPY_AND_THDPTR
|
||||
#define SPIDER_HAS_GROUP_BY_HANDLER
|
||||
#define SPIDER_ORDER_HAS_ENUM_ORDER
|
||||
#define SPIDER_ITEM_GEOFUNC_NAME_HAS_MBR
|
||||
#define SPIDER_HANDLER_AUTO_REPAIR_HAS_ERROR
|
||||
|
|
|
@ -24,9 +24,6 @@
|
|||
#define SPIDER_SUPPORT_CREATE_OR_REPLACE_TABLE
|
||||
#define SPIDER_NET_HAS_THD
|
||||
#define HANDLER_HAS_TOP_TABLE_FIELDS
|
||||
#define HANDLER_HAS_DIRECT_UPDATE_ROWS
|
||||
#define HANDLER_HAS_DIRECT_AGGREGATE
|
||||
#define PARTITION_HAS_GET_CHILD_HANDLERS
|
||||
#define PARTITION_HAS_GET_PART_SPEC
|
||||
#define HA_EXTRA_HAS_STARTING_ORDERED_INDEX_SCAN
|
||||
#define HANDLER_HAS_NEED_INFO_FOR_AUTO_INC
|
||||
|
@ -36,6 +33,5 @@
|
|||
#define SPIDER_USE_CONST_ITEM_FOR_STRING_INT_REAL_DECIMAL_DATE_ITEM
|
||||
#define SPIDER_SQL_CACHE_IS_IN_LEX
|
||||
#define SPIDER_LIKE_FUNC_HAS_GET_NEGATED
|
||||
#define HA_HAS_CHECKSUM_EXTENDED
|
||||
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN
|
||||
#endif /* SPD_ENVIRON_INCLUDED */
|
||||
|
|
|
@ -127,8 +127,6 @@
|
|||
#define SPIDER_item_name_length(A) (A)->name.length
|
||||
const LEX_CSTRING SPIDER_empty_string = {"", 0};
|
||||
|
||||
#define SPIDER_HAS_HASH_VALUE_TYPE
|
||||
|
||||
#define SPIDER_date_mode_t(A) date_mode_t(A)
|
||||
#define SPIDER_str_to_datetime(A,B,C,D,E) str_to_datetime_or_date(A,B,C,D,E)
|
||||
#define SPIDER_get_linkage(A) A->get_linkage()
|
||||
|
|
Loading…
Add table
Reference in a new issue