summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
diff options
context:
space:
mode:
authorVarun Gupta <varunraiko1803@gmail.com>2017-12-30 10:18:22 +0530
committerVarun Gupta <varunraiko1803@gmail.com>2017-12-30 10:18:22 +0530
commita118c20c8151a4e95f133b6d5bf92bafc7835e23 (patch)
treeb74a4d00cb0a8e07b631d3ca68c39baab52a1491 /sql/sql_explain.h
parent8bcbcac053b96a39465e4651f51e625c37f94964 (diff)
downloadmariadb-git-a118c20c8151a4e95f133b6d5bf92bafc7835e23.tar.gz
MDEV-10844: EXPLAIN FORMAT=JSON doesn't show order direction for filesort
Currently explain format=json does not show the order direction of fields used during filesort. This patch would remove this limitation
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r--sql/sql_explain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h
index bfddf40ff33..a4698908755 100644
--- a/sql/sql_explain.h
+++ b/sql/sql_explain.h
@@ -282,6 +282,7 @@ public:
class Explain_aggr_filesort : public Explain_aggr_node
{
List<Item> sort_items;
+ List<ORDER::enum_order> sort_directions;
public:
enum_explain_aggr_node_type get_type() { return AGGR_OP_FILESORT; }
Filesort_tracker tracker;