summaryrefslogtreecommitdiff
path: root/storage/spider
diff options
context:
space:
mode:
authorKentoku SHIBA <kentokushiba@gmail.com>2014-03-25 10:39:12 +0900
committerKentoku SHIBA <kentokushiba@gmail.com>2014-03-25 10:39:12 +0900
commite105d8bcc5c86518fa23184c0d901726195026c9 (patch)
treef5da589dfe8a543c1d22fa4719154417b01c555f /storage/spider
parent1a846b3cab58dfa54a05d701c0dd2664bc75108c (diff)
downloadmariadb-git-e105d8bcc5c86518fa23184c0d901726195026c9.tar.gz
fix for building error
Diffstat (limited to 'storage/spider')
-rw-r--r--storage/spider/spd_table.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/spider/spd_table.cc b/storage/spider/spd_table.cc
index 65c8bebbdcb..ff7e7dbfb11 100644
--- a/storage/spider/spd_table.cc
+++ b/storage/spider/spd_table.cc
@@ -7720,8 +7720,10 @@ bool spider_check_direct_order_limit(
first_check ? "TRUE" : "FALSE"));
DBUG_PRINT("info",("spider (select_lex->options & OPTION_FOUND_ROWS)=%s",
(select_lex->options & OPTION_FOUND_ROWS) ? "TRUE" : "FALSE"));
+#ifdef HANDLER_HAS_DIRECT_AGGREGATE
DBUG_PRINT("info",("spider direct_aggregate=%s",
spider->result_list.direct_aggregate ? "TRUE" : "FALSE"));
+#endif
DBUG_PRINT("info",("spider select_lex->group_list.elements=%u",
select_lex->group_list.elements));
DBUG_PRINT("info",("spider select_lex->with_sum_func=%s",