Commit 643fd51d authored by Hirokazu Hata's avatar Hirokazu Hata Committed by GitHub

MDEV-28365 Spider: remove #ifdef SPIDER_ITEM_HAS_CMP_TYPE

Reviewed by: Nayuta Yanagisawa
parent 081a2847
......@@ -8560,12 +8560,10 @@ int spider_db_open_item_int(
thd->variables.time_zone = UTC;
print_quoted_string = TRUE;
} else {
#ifdef SPIDER_ITEM_HAS_CMP_TYPE
DBUG_PRINT("info",("spider cmp_type=%u", item->cmp_type()));
if (item->cmp_type() == TIME_RESULT)
print_quoted_string = TRUE;
else
#endif
print_quoted_string = FALSE;
}
......
......@@ -34,7 +34,6 @@
#define SPIDER_HAS_SHOW_SIMPLE_FUNC
#define SPIDER_HAS_JT_HASH_INDEX_MERGE
#define SPIDER_HAS_EXPR_CACHE_ITEM
#define SPIDER_ITEM_HAS_CMP_TYPE
#define SPIDER_HAS_TIME_STATUS
#define SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
#define SPIDER_ITEM_STRING_WITHOUT_SET_STR_WITH_COPY
......
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