summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-12-06 04:02:30 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-12-06 04:02:30 +0300
commit1e3f09f1638e2bdec6029f6c98317d17d7ca76d1 (patch)
treef1266ae396bcbb1ad3121467f3b7092f70ac2497 /sql/item_subselect.h
parent5ee1c25fa8043f81ad744d1c532b8c1dafa3b5ea (diff)
downloadmariadb-git-1e3f09f1638e2bdec6029f6c98317d17d7ca76d1.tar.gz
MDEV-7264: Assertion `0' failed in subselect_engine::get_identifier()
Switch EXPLAIN JSON from using subselect_engine::get_identifier() to the number from Item_subselect::unit. Remove subselect_union_engine::get_identifier() because it was added only for EXPLAIN JSON code.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 02e487c82d0..92b269d02f1 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -871,7 +871,6 @@ public:
bool is_executed() const;
bool no_rows();
virtual enum_engine_type engine_type() { return UNION_ENGINE; }
- int get_identifier();
};